How to start the chromatic extension of content_script after window.load and after starting all other window.load listeners?
I am currently hacking a javascript site trying to improve its functionality. But I want such improvements to happen after everything is ready js is finished.
I really need a way to set a trigger after the site is ready to be fixed.
If there is no easy way to do this, did someone perform a general function that will work with JS top frames (jQuery, prototype, etc.)?
By the way, the execution of this will not work, since it will be launched in front of the script pages by listeners, which will be added later:
window.addEventListener("load", callback, false);
Prody source
share