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.
Bug in 10.1.9.1 with local disk pages
Bug in 10.1.9.1 with local disk pages
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:61.0) Gecko/20100101 Firefox/61.0
Re: Bug in 10.1.9.1 with local disk pages
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!
-
Re: Bug in 10.1.9.1 with local disk pages
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
- 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
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
Re: Bug in 10.1.9.1 with local disk pages
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.
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!
-
-
- Master Bug Buster
- Posts: 244
- Joined: Wed Jan 10, 2018 7:37 am
Re: Bug in 10.1.9.1 with local disk pages
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
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
Re: Bug in 10.1.9.1 with local disk pages
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
Re: Bug in 10.1.9.1 with local disk pages
10.1.9.6rc2 LGTM
*Always* check the changelogs BEFORE updating that important software!
-