NoScript seems to interfere with Remove Anything

Ask for help about NoScript, no registration needed to post
Tenaya
Posts: 5
Joined: Thu Jan 04, 2018 10:43 pm

NoScript seems to interfere with Remove Anything

Post by Tenaya »

Hi,

I'm did some searching, but there doesn't seem to be a previous thread about this.

Since many (MANY!) websites have decided that covering up content is key to their success (it isn't), I am a long-time user of the Firefox extension Remove Anything. Since many (MANY!) sites have decided that making things jump around (i.e. mouse-over pull downs) is key to their success (it isn't) I recently installed NoScript. This past week, however, I found that Remove Anything stopped working. In this context "working" means that the Remove Anything items disappeared from the right-click menu and the keyboard shortcut (ctrl-shift-r) stopped doing its job.

After screwing around for two days, I finally discovered that when NoScript is enabled, Remove Anything doesn't work, but when NoScript is disabled, Remove Anything works just fine. It took until this week because a restart of Firefox is required before the bad behavior begins. I don't have a very good understanding about how NoScript actually works, but my guess is that NoScript sees Remove Anything as a script to be blocked despite the page being marked "Allow All." If this is the case, I don't know how I would "whitelist" whatever Remove Anything is doing.

Does anyone have a suggestion for how to get these two extensions to play nice together? For example, is there a way to tell NoScript to ignore Remove Anything? Or other extensions in general?

Any assistance would be greatly appreciated.

Some relevant details:
- Firefox 56.0.2 (64-bit)
- Windows 10 Pro v1511, Build 10586.713
- NoScript v5.1.8.3
- Remove Anything v1.3

Tenaya

FYI, I plan to continue to use FF56 for some time to come; too many of my other extensions are haven't made it to WebExtensions.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript seems to interfere with Remove Anything

Post by barbaz »

This? - https://addons.mozilla.org/firefox/addo ... -anything/

Looks to work for me, regardless of whether the site is allowed or not in NoScript.

Please create a clean profile from scratch. Install only NoScript latest development build and Remove Anything, leaving all the defaults.
Does the problem still exist?
If not, what if you then import your NS settings into the clean profile using the Import and Export buttons *on the very bottom* of NS Options?
If that still doesn't reproduce the problem, NoScript is not the culprit... try Standard Diagnostic (leaving NS and Remove Anything enabled) to isolate and correct the real cause.

Let us know, thanks.
*Always* check the changelogs BEFORE updating that important software!
-
Tenaya
Posts: 5
Joined: Thu Jan 04, 2018 10:43 pm

Re: NoScript seems to interfere with Remove Anything

Post by Tenaya »

Yep, that's the one.

I'll give those things a try tomorrow morning (dinner now).

Tenaya
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Tenaya
Posts: 5
Joined: Thu Jan 04, 2018 10:43 pm

Re: NoScript seems to interfere with Remove Anything

Post by Tenaya »

barbaz wrote: Please create a clean profile from scratch. Install only NoScript latest development build and Remove Anything, leaving all the defaults.
Does the problem still exist?
The problem does NOT exist in the new profile (before the settings import).
barbaz wrote: If not, what if you then import your NS settings into the clean profile using the Import and Export buttons *on the very bottom* of NS Options?
The problem REAPPEARED after the settings import.

Any suggestions about how I can narrow the issue down to a specific NS setting?

Thanks,

Tenaya
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript seems to interfere with Remove Anything

Post by barbaz »

Can you please PM me the contents of your exported NS config?
*Always* check the changelogs BEFORE updating that important software!
-
Tenaya
Posts: 5
Joined: Thu Jan 04, 2018 10:43 pm

Re: NoScript seems to interfere with Remove Anything

Post by Tenaya »

PM sent

Tenaya
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
barbaz
Senior Member
Posts: 11138
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript seems to interfere with Remove Anything

Post by barbaz »

Somehow moz-extension: got removed from your whitelist. But it is supposed to be mandatory precisely because it's required for WebExtensions like Remove Anything to work.

1) Go to about:config and make sure noscript.mandatory is set at its default value

2) Try manually adding moz-extension: in NoScript Options > Whitelist, and then restarting Firefox.

Does it work now?
*Always* check the changelogs BEFORE updating that important software!
-
Tenaya
Posts: 5
Joined: Thu Jan 04, 2018 10:43 pm

Re: NoScript seems to interfere with Remove Anything

Post by Tenaya »

noscript.mandatory was set at the default value.

I manually added moz-extension: to NoScript Options > Whitelist, and restarted Firefox. Remove Anything now seems to work properly.

Thanks for sorting that out for me.

Any idea how that happened? I don't think I did it.

Tenaya
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Post Reply