Firefox extension for changing HTML

I want to create a Firefox extension that creates a toolbar button with two options - on. and off

When "On" is selected, I want to check if the user is in a specific domain (for example, www.xyz.com/page1.html), and if there is one, I want to edit the html of this page and add the insert Javascript entry on this page . I also want to change all textarea tag definitions on this page to call some javascript functions that are defined in the inserted javascript.

How can i do this?

+3
source share
1 answer
+5

Source: https://habr.com/ru/post/1716069/


All Articles