Lilz
Lilz

Reputation: 4089

Firefox extension to write a script in a web page

I am new to firefox extension building and would like some help on an application I am creating. I would like to create a firefox extension that on choosing to activate the firefox extension, opens a new tab and sends the script to the page to display a certain amount of text or perform some sort of activity. The only problem with this being that I do not know how to implement any of this in the javascript or xul file.

I have created the menu option in the javascript file and this is called from the XUL file. Can anyone help me create the script in the web page?

Thank you

Upvotes: 0

Views: 700

Answers (1)

Matt Grande
Matt Grande

Reputation: 12157

If the script you're looking to run is JavaScript, I'd recommend just using the GreaseMonkey add-on.

Upvotes: 2

Related Questions