Page 1 of 1

JS Bookmarklets - Firefox Nightly [14.0x]

Posted: Mon Mar 26, 2012 4:16 pm
by Fred.F
Since about two or three nightly updates my JS Bookamarlets have stopped working unless I either:

1. Disable NoScript OR

2. Allow NoScript on each individual top level domain.

I guess I could report this to Firefox, but hope that someone at NoScript will be able to confirm this as a 'bug' and liaise with FireFox at a technical level if this is required.

Currently on NoScript 2.3.2.

Examples of type of Bookmarklets concerned :

<javascript:void(function(){window.scroll(438,390)}())>

OR

<javascript:(function(){if(document.getElementsByClassName){var%20t=document.getElementsByClassName("last-new-tweet")[0];if(t){window.scrollTo(0,t.offsetTop+t.offsetParent.offsetTop);}}else{var%20els=document.getElementsByTagName("div"),elsLen=els.length,pattern=new%20RegExp("(^|\\s)last-new-tweet(\\s|$)");for(var%20i=0;i<elsLen;i++){if(pattern.test(els.className)){window.scrollTo(0,els.offsetTop+els.offsetParent.offsetTop);break;}}}})();javascript:self.scrollBy(321,0);>

Hope this makes sense.

Regards


Fred F.

PS All is working fine in Firefox Aurora [13.0x]

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Posted: Mon Mar 26, 2012 4:41 pm
by therube
> Currently on NoScript 2.3.2.

How about updating to current, or even better, development build.


Bookmarklets, in general, are working.
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120326 Firefox/14.0a1


Perhaps edit your post putting the code in

Code: Select all

 tags?

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Posted: Mon Mar 26, 2012 6:06 pm
by Fred.F
Hello therube

Thanx for the swift reply.

I can confirm all is well now that I am on 2.3.5 - I thought I had AutoUpdate set - but it was not it seems.

Thanks again

Fred F.

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Posted: Mon Mar 26, 2012 8:21 pm
by Giorgio Maone
Notice, though, that some bookmarklets and url bar execution are actually broken in very latest nightly builds because of https://bugzilla.mozilla.org/show_bug.cgi?id=719154

Trying to implement a work-around in next dev build...

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Posted: Mon Mar 26, 2012 9:26 pm
by Giorgio Maone
Giorgio Maone wrote:Notice, though, that some bookmarklets and url bar execution are actually broken in very latest nightly builds because of https://bugzilla.mozilla.org/show_bug.cgi?id=719154

Trying to implement a work-around in next dev build...
dobe in 2.3.6rc4. If you're on Nightly, this is a very important update.