Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Firefox Extension to run function after DOMContentLoaded event

Posted on 2008-06-26
3
Medium Priority
?
699 Views
Last Modified: 2013-12-07
I would like to run a JavaScript function of mine to perform corrective processing to the DOM of pages loaded in Firefox 3 before they are rendered to the screen. I believe this could be achieved with an extension and possibly use of XPCOM. Can someone provide a template XPI to achieve this?
0
Comment
Question by:peterchamberlin
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 1216 total points
ID: 21886057
If you want an extension then most will use GreaseMonkey (https://addons.mozilla.org/firefox/addon/748).  Let me know if you have a question or need more info.

bol
0
 

Author Closing Comment

by:peterchamberlin
ID: 31470992
Ah, I have heard mention of GreaseMonkey before and looking into that further does show it could get what I need done quickly and simply.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 21887220
Great!  I'm glad I could help.  I thought it would be the easiest way to do what you want. :)

Thanks for the fun question, the grade and the points.

bol
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question