[FIXED] NS doesn't work on 0808 nightly due to Bug 1374847

Bug reports and enhancement requests

[FIXED] NS doesn't work on 0808 nightly due to Bug 1374847

Postby koron » Tue Aug 08, 2017 2:05 pm

On 0808 nightly, NoScript shows exception "this.mappings is undefined" and doesn't work at all.

Root cause is that Bug 1374847 was fixed.
nsIPrefBranch2 no longer exists, so Qi of nsIPrefBranch2 at ScriptSurrogate.js(line 22) fails.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
koron
 
Posts: 15
Joined: Wed Jul 18, 2012 1:44 am

NoScript doesn't work with last firefox nightly build

Postby daufinsyd » Tue Aug 08, 2017 4:33 pm

Hi :)

I updated firefox nightly to the today's build but since NoScript isn't working anymore.
JS scripts are blocked nonetheless the drop down menu of NoScript isn't displayed.
Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
daufinsyd
 
Posts: 2
Joined: Tue Aug 08, 2017 3:58 pm

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby GreenReaper » Tue Aug 08, 2017 5:37 pm

Indeed, it is Bug 1374847 - but in fact it is more than just that file:

  • Main.js
  • ScriptSurrogate.js
  • ABE.js
  • URIValidator.js
  • ExternalFilters.js
These files are inside the /content/noscript folder, itself inside chrome/noscript.jar in the 528KB .xpi (for me, {73a6fe31-595d-460b-a920-fcc0f8843232}.xpi) in %AppData%\Mozilla\Firefox\Profiles\[your profile name]\extensions.

You have to extract the noscript.jar from the .xpi (I used 7-zip for this), replace all the references in the .js files, copy them back inside the .jar, then replace the .jar inside the .xpi (which requires the browser to be closed). Note that you cannot double-click the .jar from within the .xpi in 7-zip, it does not support replacing files within an archive opened within an archive.

Once that is done . . . it probably still will not work because it cannot be verified. Open about:config and change xpinstall.signatures.required to false, then restart the browser. Then it works. Hopefully the developers can patch this up to work soon (and keep working with older clients, if relevant).
Laurence "GreenReaper" Parry
https://greenreaper.co.uk - https://wikifur.com/ - https://www.flayrah.com/ - https://inkbunny.net/ - https://yerf.metafur.org/
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
GreenReaper
 
Posts: 5
Joined: Tue Aug 08, 2017 5:22 pm

NoScript completly unusable on FF64 Version 57

Postby The009 » Wed Aug 09, 2017 2:25 am

NS will not allow any JavaScript to run in the browser and not a single menu in the application works.

This is using the latest Nightly Release of FireFox.

It worked just fine 56 but something has changed in 57 that it is no longer usable.

I can help provide more info if you let me know what you need.

Quick Edit, this also includes NS Beta RC1
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
The009
 
Posts: 1
Joined: Wed Aug 09, 2017 2:18 am

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby barbaz » Wed Aug 09, 2017 2:38 am

Threads merged.
*Always* check the changelogs BEFORE updating that important software!
Board search is currently partially broken: https://forums.informaction.com/viewtopic.php?f=14&t=21752
Workaround: use your favorite search engine, add site:forums.informaction.com to your query
-
barbaz
Senior Member
 
Posts: 7743
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby barbaz » Wed Aug 09, 2017 3:15 am

I confirm that GreenReaper's workaround works.

GreenReaper wrote:You have to extract the noscript.jar from the .xpi (I used 7-zip for this), replace all the references in the .js files,

What you need to replace is "nsIPrefBranch2" replace with "nsIPrefBranch". You also need to delete the META-INF directory from the .xpi - it only contains the addon's signature, which won't be valid after the modifications.

GreenReaper wrote:Hopefully the developers can patch this up to work soon (and keep working with older clients, if relevant).

NoScript supported browsers are based on Gecko 45 and up.

nsIPrefBranch2 is only needed for Gecko 12 and below, i.e. not at all in current NoScript.
*Always* check the changelogs BEFORE updating that important software!
Board search is currently partially broken: https://forums.informaction.com/viewtopic.php?f=14&t=21752
Workaround: use your favorite search engine, add site:forums.informaction.com to your query
-
barbaz
Senior Member
 
Posts: 7743
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby barbaz » Wed Aug 09, 2017 9:08 pm

Does latest development build 5.0.9rc1 work in latest Nightly without any tweaking?
*Always* check the changelogs BEFORE updating that important software!
Board search is currently partially broken: https://forums.informaction.com/viewtopic.php?f=14&t=21752
Workaround: use your favorite search engine, add site:forums.informaction.com to your query
-
barbaz
Senior Member
 
Posts: 7743
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby GreenReaper » Wed Aug 09, 2017 9:19 pm

barbaz wrote:Does latest development build 5.0.9rc1 work in latest Nightly without any tweaking?

It does appear to work on the 9 Aug 64-bit Windows build, though I am not a regular user of some of the more advanced features.
Laurence "GreenReaper" Parry
https://greenreaper.co.uk - https://wikifur.com/ - https://www.flayrah.com/ - https://inkbunny.net/ - https://yerf.metafur.org/
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
GreenReaper
 
Posts: 5
Joined: Tue Aug 08, 2017 5:22 pm

Re: NoScript doesn't work on 0808 nightly due to Bug 1374847

Postby daufinsyd » Thu Aug 10, 2017 8:00 am

same here :)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
daufinsyd
 
Posts: 2
Joined: Tue Aug 08, 2017 3:58 pm


Return to NoScript Development

Who is online

Users browsing this forum: Giorgio Maone, Google [Bot], Langenscheiss and 9 guests