?
Solved

Firefox Extension to run function after DOMContentLoaded event

Posted on 2008-06-26
3
Medium Priority
?
694 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

718 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