JS Bookmarklets - Firefox Nightly [14.0x]

Bug reports and enhancement requests
Post Reply
Fred.F
Posts: 2
Joined: Mon Mar 26, 2012 4:01 pm

JS Bookmarklets - Firefox Nightly [14.0x]

Post 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]
Last edited by Fred.F on Mon Mar 26, 2012 5:52 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120326 Firefox/13.0a2
User avatar
therube
Ambassador
Posts: 7971
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Post 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?
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 NT 5.1; rv:13.0) Gecko/20120326 Firefox/13.0a2 SeaMonkey/2.10a2
Fred.F
Posts: 2
Joined: Mon Mar 26, 2012 4:01 pm

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Post 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.
Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120326 Firefox/14.0a1
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Post 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...
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: JS Bookmarklets - Firefox Nightly [14.0x]

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Post Reply