user162916
user162916

Reputation: 61

Firefox extension to modify HTML

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

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

How can I do this?

Upvotes: 4

Views: 4135

Answers (1)

annakata
annakata

Reputation: 75862

Yes: Greasemonkey. (wikipedia)

Upvotes: 5

Related Questions