Page 1 of 1

Bookmarklet Dialog Cause Allow Globally

Posted: Mon Sep 14, 2009 3:12 pm
by therube
When a bookmarklet opens a dialog box, the NoScript icon changes to show (as if?) Allow Globally.

Sample bookmarklets:

Code: Select all

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

Code: Select all

javascript:Qr=document.getSelection();if(!Qr){void(Qr=prompt('Registry entry to find:',''))}if(Qr)location.href='reg:'+(Qr)

Re: Bookmarklet Dialog Cause Allow Globally

Posted: Mon Sep 14, 2009 3:24 pm
by Giorgio Maone
Yes, it's expected behavior required for bookmarklets to work on untrusted sites for some months now.
This change is reverted as soon as the bookmarklet's execution ends.