I am using insertAdjacentHTML() to inject a block of javascript into a web page.
The script simply searches for some elements in a TABLE on the page and modifies the attribs on them. The script shows no UI.
PRB: The script doesn't always run upon injection. I have no clue why.
However, as soon as I insert a few alert() statements into the script .. then it *does* run .. EVERY TIME. How on earth could adding an alert() call affect things like this
TIA