CHROME: NoScript forgetting imported sites after restart

Ask for help about NoScript, no registration needed to post
bmail
Junior Member
Posts: 20
Joined: Wed Jul 22, 2009 7:52 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by bmail » Wed Aug 14, 2019 1:06 am

Nice idea but it didn't work for me either.
Surely the developer must have some idea what's happening.
Hope he comes up with a solution soon.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

RainmakerRaw
Posts: 1
Joined: Sat Aug 17, 2019 9:47 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by RainmakerRaw » Sat Aug 17, 2019 9:52 pm

I signed up to say I'm experiencing this also. My import works fine and is remembered in Firefox and Opera but not Chromium. I have the VAAPI-patched chromium-dev from Saircot895's PPA.

Ubuntu Budgie 19.04 (5.2.0-9.1-liquorix-amd64)
Chromium 77.0.3860.5 (Developer Build) Ubuntu 19.04 (64-bit)
Revision 2ff9bcf310255709fad4543bccd15d7cc762326a-refs/branch-heads/3860@{#8}
NoScript 11.0.2 (Chrome Web Store)

I import my .txt and the sites recover fine. Sometimes they just disappear mid browsing session, but mostly they just disappear and NoScript resets to default with a browser restart. I've tried reinstalling NoScript to no avail.
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/77.0.3860.5 Chrome/77.0.3860.5 Safari/537.36

Windthin

Re: CHROME: NoScript forgetting imported sites after restart

Post by Windthin » Wed Sep 04, 2019 4:58 am

I am experiencing this issue as well and have to re-import every time.
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Guest

Re: CHROME: NoScript forgetting imported sites after restart

Post by Guest » Mon Sep 30, 2019 2:21 am

It's been about a month and a half since this issue was posted without any reply from the developer on the issue we are all having with no-script imports over a certain size.
I'm assuming that either the developer has no solution or isn't interested in fixing it. Too bad, NoScript is a quality add-on in FireFox but not in Chrome.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

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

Re: CHROME: NoScript forgetting imported sites after restart

Post by barbaz » Mon Sep 30, 2019 3:44 am

Does NoScript ask for "unlimitedStorage" permission in Chrome?
*Always* check the changelogs BEFORE updating that important software!
-

bmail
Junior Member
Posts: 20
Joined: Wed Jul 22, 2009 7:52 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by bmail » Mon Sep 30, 2019 2:32 pm

I opened NoSript in Chrome and all I found was this:
Permissions
Read your browsing history
Change your privacy-related settings


There doesn't appear to be any such permission for database size.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Windthin

Re: CHROME: NoScript forgetting imported sites after restart

Post by Windthin » Wed Oct 02, 2019 10:53 pm

I can confirm this remains a consistent issue. I love NoScript on Firefox, but cannot use it on Google Chrome without re-loading my settings every time.
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

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

Re: CHROME: NoScript forgetting imported sites after restart

Post by Giorgio Maone » Thu Oct 03, 2019 9:20 am

Sorry, I didn't manage to reproduce even trying in different Chrome/Chromium configurations.
Could you please try to:
  1. Check NoScript Options>Advanced>Debug
  2. Open More Tools/Extensions
  3. Select NoScript's [details]
  4. Click Inspect Views > background page
  5. Select the Console panel and clear all message
  6. Change some NoScript persistent settings (e.g. some site from DEFAULT to TRUSTED or vice-versa)
  7. Watch for any new error message appearing in the console
Also if you export your configuration file and share it with me privately it might be helpful to spot some specific detail.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Quantarum

Re: CHROME: NoScript forgetting imported sites after restart

Post by Quantarum » Thu Oct 03, 2019 5:47 pm

Even though this thread is about importing files for NoScript to use, I feel that I have run into a similar issue.

I've found that after white-listing numerous sites/scripts the extension will eventually stop remembering them and only retain the ones it saved before that point. For example, I'll go to a site that I haven't visited before, set it to Trusted and browse just fine, but later after closing the browser and coming back NoScript had forgotten the Trusted setting and returned to the default. This behavior continues to occur for any site that I revisit after NoScript decided to stop remembering/saving the setting. Only the sites that I had visited and configured before that point will continue to load the correct permissions.

In short: NoScript seems to stop saving site preferences after a while as if it ran out of storage space.

I use the Vivaldi browser which is based on the Chrome web engine.
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.93 Safari/537.36 Vivaldi/2.8.1664.40

BoydB
Posts: 3
Joined: Fri Oct 04, 2019 2:41 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by BoydB » Fri Oct 04, 2019 2:52 pm

I currently have 339 trusted sites. This is the point where NoScript begins "forgetting" new trusted sites for me. No new trusted sites will be stored.

I am using NoScript with the new Edge browser Version 79.0.287.3 (Official build) dev (64-bit), built using the Chromium project.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.3

BoydB
Posts: 3
Joined: Fri Oct 04, 2019 2:41 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by BoydB » Fri Oct 04, 2019 3:30 pm

So, I deleted an entry from the trusted sites section of the noscript_data.txt export. I then imported it back to into NoScript. I then added another trusted site, and exported the result. I expected to see 339 sites as before. Instead, the site I removed is back in the export, along with a something I've not seen before. A snippet of what appears:
...
"§:informaction.com",
"\"script\",",
"\"object\",",
"\"media\",",
"\"font\",",
"\"webgl\",",
"\"other\"",
"[],",
"xn--\":addons-cka.mozilla.org\",",
"xn--\":afx-zga.ms\",",
"xn--\":ajax-3ha.aspnetcdn.com\",",
...

I'm not sure what to make of this.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.3

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

Re: CHROME: NoScript forgetting imported sites after restart

Post by Giorgio Maone » Sat Oct 05, 2019 9:20 am

Please check this pre-release by installing it as an unpacked extension, i.e.:
  • Download the zip and unzip it to a local directory
  • Open chrome:extensions in your Chrome/Chromium browser
  • Switch on the "Developer mode" toggle on the top right
  • Use the "Load unpacked extension" button which should have just appeared on the left to locate and select the aforementioned local directory
Good luck and let me know
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

bmail
Junior Member
Posts: 20
Joined: Wed Jul 22, 2009 7:52 pm

Re: CHROME: NoScript forgetting imported sites after restart

Post by bmail » Sat Oct 05, 2019 1:16 pm

That worked...sort of.
I followed your instructions and when I looked at the extensions, I noticed that there now were two NoScripts. The original NoScript and the new one so I disabled the original one. Was I supposed to do that?
I imported the file and it did save it even after closing Chrome and re-opening it...that's good!
However, I got a popup when I re-opened Chrome telling me to disable Developer Mode for safety reasons. When I disabled Developer Mode, the new NoScript extension went away. The only way to get it active again was to enable Developer Mode.
That wouldn't be so bad except now each time I open Chrome I get the Developer Mode warning.
Does this updated version of NoSripts have to have the Developer Mode active?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

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

Re: CHROME: NoScript forgetting imported sites after restart

Post by Giorgio Maone » Sat Oct 05, 2019 11:35 pm

bmail wrote:
Sat Oct 05, 2019 1:16 pm
Does this updated version of NoSripts have to have the Developer Mode active?
This is a pre-release, meant to be tested by alpha/beta users only and therefore to be released (and possibly reiterated) quickly.
Normal releases, which don't require Developer Mode, can only be deployed through the Chrome Store where they undergo a review process which usually takes one week or so, hence they're perfect for general consumption but not for testing.
As soon as 11.0.4 stable is published on the Chrome Store, you'll just need to uninstall 11.0.3.999xxx, disable Developer Mode if you wish and install 11.0.4.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Guest

Re: CHROME: NoScript forgetting imported sites after restart

Post by Guest » Sun Oct 06, 2019 3:08 am

The configuration is being saved so my guess is that you must be close to getting the stable version out. Kudos!
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Post Reply