Firefox extension: Paste javascript into a web page

I want to insert some script on each page that have some functions that will be called by the modified HTML of this page using the Firefox extension. I can insert JavaScript into the head of the HTML and also change the page, but the java script function is not called by the onmouseover event. Someone has a pointer to how to do this using a java script in a local extension or as an online resource.

No GreaseMonkey, I need to do this with my plugin and not ask the user to install greasemonkey, my plugin and scripts.

+3
source share
5 answers

Greasemonkey does this. Fine!

+1
+1

Greasemonkey? javascript Firefox, , , , .

0

DOM Firebug. , . . , javascript Firebug ( la python/ruby)

0

Greasemonkey-to-extension ( -):

Arantius GM Gina Trapani multiple-GM- script

. , , ( - 3.0), GreaseMonkey FireFox.

, , , .

" GreaseMonkey" , GreaseMonkey. FireFox. GM, , .

0

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


All Articles