Hacker News new | ask | show | jobs
by jQueryIsAwesome 4884 days ago
To avoid some of the bad you can put this before the other Javascript files because that way you don't destroy event listeners.

Also I changed "document.all" for "document.body.childNodes" that is cross-browser and can't be compromised.