Page 1 of 1

[Fixed] Keyword-activated bookmarklets blocked in Firefox 25

Posted: Wed Oct 23, 2013 1:41 pm
by ivank
In Firefox 25, NoScript prevents bookmarklets from running when you type their associated keyword into the URL bar. This happens only if NoScript is blocking JavaScript for the domain you are on. Keyword-activated bookmarklets worked fine in Firefox 24, even if JavaScript was blocked for the domain.

Repro steps:

1. Install Firefox 25.0b10 or newer from https://ftp.mozilla.org/pub/mozilla.org ... /releases/
2. In a clean profile, install NoScript 2.6.8.3 or 2.6.8.4rc1
3. Create a new bookmark, keyword "test", URL "javascript:(function(){alert("test")})();"
4. Visit a site on which you don't allow JavaScript, e.g. metafilter.com
5. Type the bookmark keyword ("test") into the URL bar and hit Enter
6. Watch nothing happen

Two workarounds: either activate the bookmark by clicking on it, or allow JavaScript for the domain.

Another thing I noticed: noscript.allowURLBarJS -> true doesn't work in Firefox 25, whether or not you allow JavaScript for the domain.

Re: Keyword-activated bookmarklets blocked in Firefox 25

Posted: Wed Oct 23, 2013 8:43 pm
by Giorgio Maone
Should be fixed in latest development build 2.6.8.4rc2, please verify, thank you.

Re: Keyword-activated bookmarklets blocked in Firefox 25

Posted: Wed Oct 23, 2013 10:02 pm
by ivank
Yep, it's working here now, thanks a ton for the fix!

Re: Keyword-activated bookmarklets blocked in Firefox 25

Posted: Wed Oct 23, 2013 10:10 pm
by ivank
I just noticed that noscript.allowURLBarJS -> true is required to run keyword-activated bookmarklets in Firefox 25 (NoScript 2.6.8.4rc2), but not in Firefox 24 (NoScript 2.6.8.4rc2). This doesn't bother me in the slightest because I always have it on, but it could be considered a regression.

Re: Keyword-activated bookmarklets blocked in Firefox 25

Posted: Thu Oct 24, 2013 9:06 am
by Giorgio Maone
ivank wrote:I just noticed that noscript.allowURLBarJS -> true is required to run keyword-activated bookmarklets in Firefox 25 (NoScript 2.6.8.4rc2), but not in Firefox 24 (NoScript 2.6.8.4rc2). This doesn't bother me in the slightest because I always have it on, but it could be considered a regression.
Fixed in latest development build 2.6.8.4.rc3, thank you.

Re: Keyword-activated bookmarklets blocked in Firefox 25

Posted: Thu Oct 24, 2013 9:41 am
by ivank
Confirmed fixed, thanks again.