I\'m creating a Firefox extension for demo purposes.
I to call a specific JavaScript function in the document from the extension.
I wrote this in my HTML document (not insid
You can do it, but you need to have control over the page and be able to raise the privilege level for the script. Mozilla Documentation gives an example - search for "Privilege" on the page.