Plasma browser integration and clipboard actions

Is it possible to integrate Firefox with clipboard actions in such a way that when I highlight some text in Firefox an icon automatically pop ups like it is for some Firefox translation add-ons? Notice icon next to the mouse pointer :
https://i.imgur.com/19BXt9R.png

I want to configure it this way: when I click on icon it shows me actions menu (the same way as clipboard shortcut does) or executes actions (depending on setting).