Bug in 10.1.9.1 with local disk pages

Ask for help about NoScript, no registration needed to post
Kevin 4368

Bug in 10.1.9.1 with local disk pages

Post by Kevin 4368 »

Hi,

I upgraded NoScript to 10.1.9.1 and started getting a problem in Firefox 61.0.2 with web pages on the local disk. It didn't happen in previous versions and I tried disabling it and it fixed the problem, so the bug was introduced in this latest version. The web pages from the local disk show the content of <noscript> elements even though Javascript runs correctly. I think I enabled the domain for local hard drive web pages in a previous version of NoScript years ago, although the latest interface does not seem to show that as an option. However, it should retain the previous settings and it certainly should not show the <noiscript> content when Javascript is running.

Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:61.0) Gecko/20100101 Firefox/61.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Bug in 10.1.9.1 with local disk pages

Post by barbaz »

Confirmed. Test page -

Code: Select all

<!doctype html>
<div id="1">JS didnt run (yet?)</div>
<script>document.getElementById('1').textContent = 'JS ran';</script>
<noscript>JS is Not Enabled!!!!!!</noscript>
*Always* check the changelogs BEFORE updating that important software!
-
eski

Re: Bug in 10.1.9.1 with local disk pages

Post by eski »

I think I've got this problem too! My local disk pages have started acting strangely and it only goes away when I disable NoScript...
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bug in 10.1.9.1 with local disk pages

Post by Giorgio Maone »

Please check whether the problem persist with latest development build, thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Bug in 10.1.9.1 with local disk pages

Post by barbaz »

10.1.9.2rc1 is better, but not completely fixed. It looks like there maybe a race condition that can still produce this bug. I can reproduce it starting from a clean profile, if I perform the following steps quickly enough -

1) install NoScript 10.1.9.2rc1 from https://noscript.net/getit#devel

2) drag the local file test page into the tab bar so that it opens as a new tab, and click its tab

Reloading the local test page gets it working.
*Always* check the changelogs BEFORE updating that important software!
-
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: Bug in 10.1.9.1 with local disk pages

Post by skriptimaahinen »

Happens on rc2 too. Simply using Open File is enough, but happens only once per session. Even opening another file on a new tab does not reproduce the problem.

This is the only error in the console I think might be related:

ReferenceError: ns is not defined

--

Unrelated to this issue as far as I can tell, but too lazy to make a new thread :)

Code: Select all

RequestGuard.js:43
                                             v------------v
let requestKey = Policy.requestKey(url, documentUrl, policyType);
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Thomas D

Re: Bug in 10.1.9.1 with local disk pages

Post by Thomas D »

10.1.9.5 fixed it for me, thanks!
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: Bug in 10.1.9.1 with local disk pages

Post by barbaz »

10.1.9.6rc2 LGTM Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply