[Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Ask for help about NoScript, no registration needed to post
opusqqqg
Posts: 3
Joined: Sun Aug 23, 2020 12:25 pm

[Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by opusqqqg » Sun Aug 23, 2020 1:00 pm

NoScript 11.0.39 (the newest, I think)
Tor Browser 9.5.3 based on Firefox 68.11.0esr 64bit
Linux 64bit

Tor Browser with NoScript with the newest version, it can open remote urls but can't open local files. With older version NoScript, it could open the files. And it can open the files without NoScript. Any suggestions?

"Browser Console" of Tor Browser showed below errors repeatedly when it can't open the files:

Code: Select all

Error: TelemetryStopwatch: key "WEBEXT_CONTENT_SCRIPT_INJECTION_MS" was already initialized
Error: TelemetryStopwatch: key "WEBEXT_CONTENT_SCRIPT_INJECTION_MS_BY_ADDONID" was already initialized
Error: TelemetryStopwatch: requesting elapsed time for nonexisting stopwatch. Histogram: "WEBEXT_CONTENT_SCRIPT_INJECTION_MS", key: ""
Error: TelemetryStopwatch: requesting elapsed time for nonexisting stopwatch. Histogram: "WEBEXT_CONTENT_SCRIPT_INJECTION_MS_BY_ADDONID", key: "{********-****-****-****-***********}"
...
It may be a problem only with Tor Browser or my environment. But I posted this here in anticipation of getting helps from NoScript gurus! Thanks :)
Last edited by opusqqqg on Mon Aug 24, 2020 9:47 am, edited 3 times in total.
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0

User avatar
Giorgio Maone
Site Admin
Posts: 8938
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by Giorgio Maone » Sun Aug 23, 2020 1:20 pm

No, it's a bug due to a Tor Browser specific behavior (wiping out window.name on every document load).
It's fixed in latest development build.
v 11.0.40rc2
============================================================
x Avoid synchronous policy fetching whenever possible
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

opusqqqg
Posts: 3
Joined: Sun Aug 23, 2020 12:25 pm

Re: [Solved(maybe)] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by opusqqqg » Sun Aug 23, 2020 1:35 pm

Thank you! I decided to wait until next version.
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0

barbaz
Senior Member
Posts: 9666
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Solved(maybe)] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by barbaz » Sun Aug 23, 2020 2:01 pm

opusqqqg wrote:
Sun Aug 23, 2020 1:35 pm
I decided to wait until next version.
Ok, then please report back when your wait is over, and let's only then decide whether to mark this Resolved.
*Always* check the changelogs BEFORE updating that important software!
-

opusqqqg
Posts: 3
Joined: Sun Aug 23, 2020 12:25 pm

Re: [Solved(maybe)] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by opusqqqg » Mon Aug 24, 2020 9:45 am

barbaz wrote:
Sun Aug 23, 2020 2:01 pm
opusqqqg wrote:
Sun Aug 23, 2020 1:35 pm
I decided to wait until next version.
Ok, then please report back when your wait is over, and let's only then decide whether to mark this Resolved.
My problem was resolved with NoScript 11.0.40. Thank you all! Now time to marrrrk thaaaat.
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0

banana

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by banana » Mon Aug 24, 2020 10:37 am

Unfortunately, I'm having a new issue with the combination of NoScript 11.0.40 and the Tor browser.
Most mouse operations (right-click menu, wheel scroll, etc.) other than link clicking and scroll bar operations are no longer working for local files (file:///).
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

User avatar
Giorgio Maone
Site Admin
Posts: 8938
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by Giorgio Maone » Mon Aug 24, 2020 11:40 am

banana wrote:
Mon Aug 24, 2020 10:37 am
Unfortunately, I'm having a new issue with the combination of NoScript 11.0.40 and the Tor browser.
Most mouse operations (right-click menu, wheel scroll, etc.) other than link clicking and scroll bar operations are no longer working for local files (file:///).
Yes, i can see the regression: unless file: is (temporarily) TRUSTED, events are swallowed (not just in the Tor Browser).
I'm gonna release a fix right away, later today.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

User avatar
Giorgio Maone
Site Admin
Posts: 8938
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by Giorgio Maone » Mon Aug 24, 2020 4:32 pm

Please check latest development build:
v 11.0.41rc1
============================================================
x Fixed regression: events suppressed on file:// pages
unless scripts are allowed
x Updated TLDs
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

barbaz
Senior Member
Posts: 9666
Joined: Sat Aug 03, 2013 5:45 pm

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by barbaz » Mon Aug 24, 2020 5:40 pm

Giorgio Maone wrote:
Mon Aug 24, 2020 4:32 pm
Please check latest development build:
v 11.0.41rc1
============================================================
x Fixed regression: events suppressed on file:// pages
unless scripts are allowed
x Updated TLDs
This version is not available through updating nor directly from noscript.net.
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
Giorgio Maone
Site Admin
Posts: 8938
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by Giorgio Maone » Mon Aug 24, 2020 6:16 pm

barbaz wrote:
Mon Aug 24, 2020 5:40 pm
Giorgio Maone wrote:
Mon Aug 24, 2020 4:32 pm
Please check latest development build:
v 11.0.41rc1
============================================================
x Fixed regression: events suppressed on file:// pages
unless scripts are allowed
x Updated TLDs
This version is not available through updating nor directly from noscript.net.
Sorry, fixed, thanks.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

banana

Re: [Resolved] Can't open local files in Tor Browser (Firefox ESR) with the newest NoScript

Post by banana » Tue Aug 25, 2020 4:25 am

I have installed 11.0.41rc2. It seems that the problems with browsing local files are gone.
Thank you for your support.
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Post Reply