Page 1 of 1

A script on this page may be busy... stopped responding

Posted: Thu Sep 10, 2009 12:25 pm
by Guest
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: javascript:((function%20()%20%7Bvar%20tt%20%3D%20%5B%5D%3Bwindow.setTimeout%20%3D%20function%20(f%2C%20d%2C%20a)%20%7Bif%20(typeof%20f%20!%3D%20%22function%22)%20%7Bf%20%3D%20new%20Function(f%20%7C%7C%20%22%22)%3B%7Dtt.push(%7Bf%3A%20f%2C%20d%3A%20d%2C%20a%3A%20a%7D)%3B%7D%3Bwindow.__runTimeouts%20%3D%20function%20()%20%7Bvar%20t%3Bwhile%20(tt.length)%20%7Btt.sort(function%20(b%2C%20a)%20%7Breturn%20a.d%20%3C%20b.d%20%3F%20-1%20%3A%20a.d%20%3E%20b.d%20%3F%201%20%3A%200%3B%7D)%3Bt%20%3D%20tt.pop()%3Bt.f.call(window%2C%20t.a)%3B%7Ddelete%20window.__runTimeouts%3Bdelete%20window.setTimeout%3B%7D%3B%7D))()%3B%20void(0)%3B:1

with
grep -ri tt.sort noscript-1.9.8.8

I track it down to handleBookmark/executeJSURL in
noscript-1.9.8.8/chrome/noscript/content/noscript/Main.js

What else do you need?

Re: A script on this page may be busy... stopped responding

Posted: Thu Sep 10, 2009 1:14 pm
by Giorgio Maone
What bookmarklet or location bar JavaScript snippet were you executing, when this happened?

Re: A script on this page may be busy... stopped responding

Posted: Fri Sep 11, 2009 7:30 am
by Guest
Giorgio Maone wrote:What bookmarklet or location bar JavaScript snippet were you executing, when this happened?
url is any youtube video, like

http://www.youtube.com/watch?v=f6cTUl8E2Jc

bookmarklets

Code: Select all

javascript:(function(){ prompt(location.href,location.href); })()
or

Code: Select all

javascript:if(window.location.host.match(/youtube\.com$/i)&&!location.href.match(/fmt=/i)){location.href=location.href+'&fmt=18'}
Thanks

Re: A script on this page may be busy... stopped responding

Posted: Sun Sep 13, 2009 10:07 am
by Guest
I switched to the latest dev version noscript-1.9.8.84
and I can't seem to trigger this bug again, I will keep trying :)