Hacker News new | ask | show | jobs
by natejenkins 4237 days ago
I encountered the same thing and pasted in the following in the console to disable all timers(1):

  // Set a fake timeout to get the highest timeout id
  var highestTimeoutId = setTimeout(";");
  for (var i = 0 ; i < highestTimeoutId ; i++) {
    clearTimeout(i); 
  }
(1) Taken from: http://stackoverflow.com/questions/3847121/how-can-i-disable...
1 comments

Ha! I'd never looked at at the value returned from setTimeout to see what it was. Obviously it was going to be some sort of ID but it never occurred to me that it was a simple counter. Neat trick.

I just hit ESC a bunch of times as the page was loading and it seemed to stop the offending code from getting a chance to execute.