Page 1 of 1

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

Posted: Sun Aug 23, 2020 1:00 pm
by opusqqqg
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 :)

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

Posted: Sun Aug 23, 2020 1:20 pm
by Giorgio Maone
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

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

Posted: Sun Aug 23, 2020 1:35 pm
by opusqqqg
Thank you! I decided to wait until next version.

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

Posted: Sun Aug 23, 2020 2:01 pm
by barbaz
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.

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

Posted: Mon Aug 24, 2020 9:45 am
by opusqqqg
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.

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

Posted: Mon Aug 24, 2020 10:37 am
by banana
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:///).

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

Posted: Mon Aug 24, 2020 11:40 am
by Giorgio Maone
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.

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

Posted: Mon Aug 24, 2020 4:32 pm
by Giorgio Maone
Please check latest development build:
v 11.0.41rc1
============================================================
x Fixed regression: events suppressed on file:// pages
unless scripts are allowed
x Updated TLDs

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

Posted: Mon Aug 24, 2020 5:40 pm
by barbaz
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.

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

Posted: Mon Aug 24, 2020 6:16 pm
by Giorgio Maone
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.

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

Posted: Tue Aug 25, 2020 4:25 am
by banana
I have installed 11.0.41rc2. It seems that the problems with browsing local files are gone.
Thank you for your support.