[FIXED] NoScript 5.1.2 & Pale Moon 27.5.1

Ask for help about NoScript, no registration needed to post
pbcroc

[FIXED] NoScript 5.1.2 & Pale Moon 27.5.1

Post by pbcroc »

NoScript 5.1.2 doesn't work correctly with Pale Moon 27.5.1. Search bar doesn't work (can type some words in a text field, but can't press 'Enter' or click a 'search' button) and Pale Moon hangs after all.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.9) Gecko/20100101 Goanna/3.3 Firefox/52.9 PaleMoon/27.5.1
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by barbaz »

I see the same. But I don't see it until after restarting Pale Moon. Sometimes I get "The URL is not valid" instead of a freeze.

I will try to look into this.
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by barbaz »

NoScript 5.1.1 works.
NoScript 5.1.2rc1 does not.

The following patch, applied to NoScript 5.1.2rc8, appears to fix the problem. But it kills the status bar icon for SeaMonkey, so is *not* suitable for inclusion.

Code: Select all

diff --git a/chrome/content/noscript/Restartless.jsm b/chrome/content/noscript/Restartless.jsm
--- a/chrome/content/noscript/Restartless.jsm
+++ b/chrome/content/noscript/Restartless.jsm
@@ -74,7 +74,7 @@
   INCLUDE("Main");
   Main.bootstrap();
 
-
+  createWidgetTemplate();
   Main.init();
   if (Main.webExt && addonData.webExtension) {
     Main.webExt.init(addonData.webExtension);
@@ -100,8 +100,9 @@
 var overlayURL  = NO_CACHE(`noscriptOverlay-noStatusBar.xul`);
 
 function createWidgetTemplate(window, callback) {
-  let xhr = new window.XMLHttpRequest();
-  if (window.document.getElementById("status-bar")) {
+  let xhr = window ? new window.XMLHttpRequest() : // Let's provide as much contextual info as possible, e.g. to Tor Browser
+              Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIXMLHttpRequest);
+  if (window && window.document.getElementById("status-bar")) {
     overlayURL = overlayURL.replace("-noStatusBar", "");
   }
   xhr.open("GET", overlayURL);
I have no idea why this patch would have any effect on this issue, but it does. Image
*Always* check the changelogs BEFORE updating that important software!
-
yes_noscript

massive problems with NoScript 5.1.2

Post by yes_noscript »

If i try to open a site from history in urlbar, the browser freeze if NoScript enabled.
If i enter a word in urlbar then normaly my default search engine open with that, but nothing hapens.

This wasnt the case in other versions
And the funny thing is: i dont use NoScript to control javascript- i only use the other features from NoScript. uMatrix control javascript

5.1.1 works fine

I can add or send a WhatIsHang and/ or appCrashView report if needed
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.9) Gecko/20100101 Goanna/3.3 Firefox/52.9 PaleMoon/27.5.1
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: massive problems with NoScript 5.1.2

Post by Giorgio Maone »

It seems to be a Palemoon-specific issue.
Could you please look into the browser console for any possibly related message (I suspect something about excessive recursion might pop up)?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by barbaz »

Threads merged.
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by therube »

I can add or send a WhatIsHang
Can't hurt.
Just post it in a

Code: Select all

 block (if it fits), or link to from https://pastebin.com/ or similar.
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 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 Lightning/5.4
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by Giorgio Maone »

Just to understand: are these issues consistently reproducible?
I managed to make Palermoon 27.5.1 hang with NoScript 5.1.2 once (first try), but from then on I've been unable to reproduce (and unfortunately I realized that after a serie of false-positive "fixes" which actually did nothing, because the problem just wasn't manifesting itself) :(
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by barbaz »

Giorgio Maone wrote:Just to understand: are these issues consistently reproducible?
I was able to reproduce this every time starting from a new profile, following these steps -
1) Install NoScript
2) File > Restart, restart Pale Moon
3) Try to type something in the URL bar and hit Enter

When I re-used the same profile, things got more erratic.
*Always* check the changelogs BEFORE updating that important software!
-
yes_noscript

Re: massive problems with NoScript 5.1.2

Post by yes_noscript »

Giorgio Maone wrote:It seems to be a Palemoon-specific issue.
Could you please look into the browser console for any possibly related message (I suspect something about excessive recursion might pop up)?
I cant because the browser freeze without any chance to do anything.

Here the windows logs:
https://pastebin.com/WKz8P3pv & https://pastebin.com/Vht6RDS8

Also see this Pale Moon forum thread: https://forum.palemoon.org/viewtopic.php?f=46&t=17022
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.9) Gecko/20100101 Goanna/3.3 Firefox/52.9 PaleMoon/27.5.1
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by Giorgio Maone »

Please check latest development build 5.1.3rc1, thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
yes_noscript

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by yes_noscript »

The fix solve the problem. Good work!

But now with the NoScript update a new tab opens with https://www.purevpn.com/vpn-service/nos ... pecial.php
Why?
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.9) Gecko/20100101 Goanna/3.3 Firefox/52.9 PaleMoon/27.5.1
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by therube »

the NoScript update a new tab opens with https://www.purevpn.com/vpn-service/nos ... pecial.php
(I didn't get that in SeaMonkey.)
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 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 Lightning/5.4
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript 5.1.2 & Pale Moon 27.5.1

Post by barbaz »

Giorgio Maone wrote:Please check latest development build 5.1.3rc1, thanks.
I confirm this is fixed. Thanks Giorgio! Image
yes_noscript wrote:But now with the NoScript update a new tab opens with https://www.purevpn.com/vpn-service/nos ... pecial.php
Why?
Not seeing that here. Are you somehow clicking a link in the NoScript release notes page?
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply