Page 1 of 1

[RESOLVED] Bookmarklets broken

Posted: Wed Oct 08, 2014 4:27 pm
by 5keeve
Hi!

I (have to) use an rather old FireFox (16) as there is no newer one for my OS X 10.5.

So there was absolutely no change in regards to OS or FireFox in the last years.

I created several bookmarklets which do not work anymore with my current setup. I have no clue when it broke. NoScript is Version 2.6.9. In older versions the bookmarklets worked, as I have NoScript in this setup active for years now. I even created the bookmarklets while NoScript was active.

You can find the bookmarklets on http://tw5magick.tiddlyspot.com search for "TW5 Format Bookmarklets" on the site. As you can see, the bookmarklets are rather simple.

But even a simple bookmarklet like javascript:alert("OK");void(0); does not work.

I checked the settings, but couldn't find anything suspicious.
  • tiddlyspot.com is allowed
  • bookmarklets are not forbidden
  • No error message at all in firebug
I also deactivated some extensions but only when I deactivate NoScript, the bookmarklets work.

Can anybody help?

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 6:11 pm
by barbaz
Firebug is the wrong place to be checking because it doesn't show error messages not generated by content scripts, and its console doesn't work on script-disabled pages.

Anyway, confirmed that bookmarklets don't work at all with NoScript latest development build in new profile in Firefox 16.0.2 (Linux 32-bit). This shows up in the Error Console (Cmd-Shift-J):

Code: Select all

Error: method.caller is null
Source File: jar:file:///home/******/.mozilla/firefox/1sgjuxkb.default/extensions/%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D.xpi!/components/noscriptService.js
Line: 4399

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 9:25 pm
by 5keeve
Similar for me.

Code: Select all

Zeitstempel: 08.10.14 22:46:24
Fehler: method.caller is null
Quelldatei: jar:file:///Users/me/Library/Application%20Support/Firefox/Profiles/garbled.default/extensions/%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D.xpi!/components/noscriptService.js
Zeile: 4399
Thanks for mentioning the Cmd-Shift-J

So there is no way to fix it at the moment?

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 10:15 pm
by barbaz
It's a NoScript bug. You can either wait for Giorgio to find this thread and fix it, meanwhile using the Web Console (either Cmd-Option-K or Cmd-Shift-K, can't remember which it is on Mac) to execute JS, *or* downgrade to the last working development build (https://addons.mozilla.org/addon/noscript/versions or http://noscript.net/feed?c=240&t=a) until it's fixed.
If the latter, please post what is the last working dev build.

No time to figure this out myself atm, sorry.

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 10:26 pm
by therube
> (have to) use an rather old FireFox (16)

SeaMonkey, & 1 version back, if you want to try it, https://code.google.com/p/seamonkey-ppc/.


(I have no knowledge of this, other then it is.)

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 11:48 pm
by 5keeve
barbaz wrote:If the latter, please post what is the last working dev build.
2.6.8.37 works. 2.6.8.38rc1 already has the bug.

I don't seem to remember to have upgraded NoScript. Is there an auto update or do I have a bad memory? If there is an auto update, how can I switch it off?

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 11:50 pm
by 5keeve
therube wrote:> (have to) use an rather old FireFox (16)

SeaMonkey, & 1 version back, if you want to try it, https://code.google.com/p/seamonkey-ppc/.


(I have no knowledge of this, other then it is.)
Thanks for pointing me to it, but this is a MacBook Pro. Would I spend some money on a new OS (and some hardware), I could get a more recent FireFox.

Re: Bookmarklets broken

Posted: Wed Oct 08, 2014 11:53 pm
by barbaz
5keeve wrote:Is there an auto update or do I have a bad memory?
there is an auto-update by default
can't judge your memory though, sorry :P
5keeve wrote:If there is an auto update, how can I switch it off?
Tools > Add-ons Manager > gear icon > un-check "Update Add-ons Automatically"
*or*
Tools > Add-ons Manager > NoScript > More > Automatic Updates: off

Re: Bookmarklets broken

Posted: Thu Oct 09, 2014 12:13 am
by barbaz
5keeve wrote:
barbaz wrote:If the latter, please post what is the last working dev build.
2.6.8.37 works. 2.6.8.38rc1 already has the bug.
Thanks for posting your findings.

Given that, I'd suggest you use NoScript 2.6.8.37rc2 for the time being because 2.6.8.37rc3 through 2.6.8.38rc1 had a bug where object placeholders didn't show up...

Re: Bookmarklets broken

Posted: Mon Dec 01, 2014 10:44 am
by Jeo
Is this bug resolved?

I am running 2.6.9.5 and I still get the method.caller is null error in the error console.

Re: Bookmarklets broken

Posted: Mon Dec 01, 2014 12:11 pm
by Giorgio Maone
Sorry, this thread completely eluded my attention.
Checking it right now, thanks for reporting.

Re: Bookmarklets broken

Posted: Tue Dec 02, 2014 12:18 am
by Giorgio Maone
Please check latest development build 2.6.9.6rc2, thanks.

Re: Bookmarklets broken

Posted: Tue Dec 02, 2014 7:14 am
by Jeo
Thank you very much. The issue is gone :)