Bookmarklet Dialog Cause Allow Globally

Bug reports and enhancement requests
Post Reply
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Bookmarklet Dialog Cause Allow Globally

Post 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)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090825 SeaMonkey/1.1.18
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bookmarklet Dialog Cause Allow Globally

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Post Reply