Hi, I’m a junior developer and I’ve been reading the documentation on how to create extensions.
I am now able to add a menu item to the context menu and once it is clicked, some CSS is adjusted using
browser.tabs.insertCSS({code: css});
This way I am able to change the look and feel of every occurence of a certain html element.
However, can somebody please tell me what I should do to change the CSS of the element that I right clicked upon to have the CSS apply only to that particular element?