[RESOLVED] Settings are automatically changedto "restrictions globally deactivated"

Ask for help about NoScript, no registration needed to post
Jonnes

[RESOLVED] Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Sun May 03, 2020 2:17 pm

Hello,
I hope someone can explain to me what could be going on. the noscript add-on from time to time jumps back automatically to the setting: "restrictions globally deactivated". Mostly when the browser is restarted, but sometimes also during a session for no apparent reason! Can this be due to a problem with another add-on?
regards
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

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

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by barbaz » Sun May 03, 2020 2:46 pm

Is that the only NoScript setting that 'jumps back automatically'?

Do you use Firefox Sync?
If so, does this issue also happen in a new, separate Firefox profile that is not set up with your Firefox Sync?
*Always* check the changelogs BEFORE updating that important software!
-

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Sun May 03, 2020 3:29 pm

Hi, thanks for the quick response.

The only other add-ons with individual settings is ublock. Everything is "normal" there.

I don't use Firefox Sync.

What wonders me most is that I use the basic settings for noscript...
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

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

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by barbaz » Sun May 03, 2020 3:48 pm

barbaz wrote:
Sun May 03, 2020 2:46 pm
Is that the only NoScript setting that 'jumps back automatically'?
When this issue occurs, do you also lose changes you made to the permissions? e.g. if you had set a new site to Trusted, is it no longer set as Trusted?
What about customisations to the Default/Trusted/Untrusted presets?
*Always* check the changelogs BEFORE updating that important software!
-

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Sun May 03, 2020 4:38 pm

I am honestly not sure about that, as I have always solved the problem by resetting the settings whenever the problem occurred.
I would have to watch that again.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Sun May 03, 2020 5:58 pm

When this issue occurs, do you also lose changes you made to the permissions? e.g. if you had set a new site to Trusted, is it no longer set as Trusted?
What about customisations to the Default/Trusted/Untrusted presets?
no. they dont change.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

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

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by barbaz » Mon May 04, 2020 3:17 pm

Go to about:debugging
This Firefox > NoScript > Inspect
In the console, enter this -

Code: Select all

chrome.storage.sync.get(null,(items)=>console.log(JSON.stringify(items)));
look at what it returns.

Do this when the issue has not occured, and do it when the issue occurs. Compare results?
*Always* check the changelogs BEFORE updating that important software!
-

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Wed May 06, 2020 8:55 am

happend again...

when deactivated:

Code: Select all

SyntaxError: unexpected token: identifier
debugger eval code:1:9
Unexpected invalid url: debugger eager eval code webextension.js:351
Unexpected invalid url: debugger eager eval code webextension.js:351
dom.serviceWorkers.enable
ReferenceError: "dom is not defined"
after a reset

Code: Select all

Could not map contract ID '@mozilla.org/sharepicker;1' to CID {1201d357-8417-4926-a694-e6408fbedcf8} because no implementation of the CID is registered. 
TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object.
2 ExtensionContent.jsm:567:25
Unknown localization message customizepresets_accesskey locale.js:10
TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object.
2 ExtensionContent.jsm:567:25
Use of nsIFile in content process is deprecated. 6 NetUtil.jsm:253:8
Unexpected invalid url: debugger eager eval code 7 webextension.js:351
Unexpected invalid url: debugger eager eval code webextension.js:351
Unexpected invalid url: debugger eager eval code webextension.js:351
TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object.
2 ExtensionContent.jsm:567:25
Use of nsIFile in content process is deprecated. 6 NetUtil.jsm:253:8

chrome.storage.sync.get(null,(items)=>console.log(JSON.stringify(items))); 
undefined 
{"policy":{"DEFAULT":{"capabilities":["frame","fetch","other"],"temp":false},"TRUSTED":{"capabilities":["script","object","media","frame","font","webgl","fetch","ping","other"],"temp":false},"UNTRUSTED":{"capabilities":[],"temp":false},"sites":{"trusted":["§:addons.mozilla.org","§:afx.ms","§:ajax.aspnetcdn.com","§:ajax.googleapis.com","§:bootstrapcdn.com","§:code.jquery.com","§:firstdata.com","§:firstdata.lv","§:gfx.ms","§:google.com","§:googlevideo.com","§:gstatic.com","§:hotmail.com","§:live.com","§:live.net","§:maps.googleapis.com","§:mozilla.net","§:netflix.com","§:nflxext.com","§:nflximg.com","§:nflxvideo.net","§:noscript.net","§:outlook.com","§:passport.com","§:passport.net","§:passportimages.com","§:paypal.com","§:paypalobjects.com","§:securecode.com","§:securesuite.net","§:sfx.ms","§:tinymce.cachefly.net","§:wlxrs.com","§:yahoo.com","§:yahooapis.com","§:yimg.com","§:youtube.com","§:ytimg.com"],"untrusted":[],"custom":{}},"enforced":true,"autoAllowTop":false},"xssUserChoices":{}}
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Wed May 06, 2020 8:56 am

there are a lot of errors which i dont understand... would it help to re-install firefox with all add-ons?
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

User avatar
therube
Ambassador
Posts: 7633
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by therube » Wed May 06, 2020 11:27 am

(No clue, but in about:config, do you have the preference dom.serviceWorkers.enable set to 'false' ?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 Lightning/5.8.3

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Wed May 06, 2020 11:36 am

Code: Select all

(No clue, but in about:config, do you have the preference dom.serviceWorkers.enable set to 'false' ?)
no allready checked it.. its set to true
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

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

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by barbaz » Wed May 06, 2020 12:28 pm

Jonnes wrote:
Wed May 06, 2020 8:56 am
would it help to re-install firefox with all add-ons?
Looks like that would be worth trying.

Before you start the uninstall/reinstall process, you might want to completely quit Firefox then back up your entire profile folder. If you have that backed up, it should be safe enough to select to delete your data when uninstalling Firefox, so that the new install of Firefox uses a new, clean profile.
*Always* check the changelogs BEFORE updating that important software!
-

Jonnes

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by Jonnes » Mon May 11, 2020 11:58 am

just wanted you guys know that I haven't had the problem since reinstalling! Thanks for your help
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

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

Re: Settings are automatically changedto "restrictions globally deactivated"

Post by barbaz » Mon May 11, 2020 1:29 pm

You're welcome, thanks for reporting back Image
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply