When using Chrome I can disable setTimeout
for windows or individual frames by overriding the setTimeout
function like this window.frames['frame0'].setTimeout = function() {}
Is there a way to achieve a similar effect with IE?
I'd like to be able to do this from the JavaScript console as I don't have access to modify the JS that is setting the timers but I need to be able to debug the page.
I found the following excellent discussion but it would appear that the technique mentioned must be called before other scripts are loaded. http://www.adequatelygood.com/2011/4/Replacing-setTimeout-Globally