[Fixed] Keyword-activated bookmarklets blocked in Firefox 25
Posted: Wed Oct 23, 2013 1:41 pm
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.
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.