Sunday, January 13, 2013

Bookmarklet: Clear All Timeouts

javascript:var x=setTimeout('',0);for(var i=0;i<=x;i++){clearTimeout(i);if(i==x)alert('cleared:'+i);}

No comments: