Page 1 of 1

Scripts are enabled only for 1 page

Posted: Sat Nov 26, 2016 10:43 pm
by tkzv2
I started getting this problem since I updated NoScript to 2.9.5.1 and 2.9.5.2rc1 also has it. I enable scripts for a site, reload a page, and all works fine. Then I open another page from the same site in another tab, and scripts don't work, but NoScript indicates that they do. When I open multiple tabs, scripts may work in some of them. Disabling and then enabling scripts works, but it has to be done for each individual page.

Firefox version 50.0.

This problem did not reproduce in a clean profile. This may have something to do with me setting things up in about:config to force-enable Electrolysis in earlier versions, but older versions of NoScript behaved well enough. I reset all custom settings in the default profile, but I still have the same problem.

It may be of note that another Electrolysis-related bug disappeared. In earlier versions, when I enabled multiple processes and NoScript, when I switched between tabs with keyboard, keyboard focus sometimes remained on an invisible page, and title bar displayed the title of the page which would receive keyboard input. This bug no longer manifests.

What is wrong? How do I fix it?

Re: Scripts are enabled only for 1 page

Posted: Sat Nov 26, 2016 10:45 pm
by tkzv2
Forgot to mention: I am using desktop Firefox under 64-bit Gentoo Linux.

Re: Scripts are enabled only for 1 page

Posted: Sat Nov 26, 2016 10:48 pm
by tkzv2
Also forgot to mention that this also happened with whitelisted sites.

Re: Scripts are enabled only for 1 page

Posted: Sun Nov 27, 2016 1:15 pm
by tkzv2
Same for 2.9.5.2rc2.

Re: Scripts are enabled only for 1 page

Posted: Sun Nov 27, 2016 2:56 pm
by barbaz
I'm not quite clear on what you tested in the clean profile. Did you try importing your entire NoScript settings, using the Export/Import buttons *on the very bottom* of NoScript Options?

If you did, and if the problem didn't occur, try Standard Diagnostic (leaving NoScript enabled) to find the cause.

Let us know, thanks.

Re: Scripts are enabled only for 1 page

Posted: Sun Nov 27, 2016 4:18 pm
by tkzv2
New profile.
1. I created a new profile, installed latest stable NoScript, restarted Firefox. I imported NoScript settings and restarted Firefox again. I kept default Firefox settings, but disabled redirecting.
2. I went to google.com, clicked the doodle and got the no-script version.
3. I enabled scripts for google.com domain, reloaded the page and got the version with scripts.
4. I middle-clicked "Images" and the version with scripts opened in another tab.
So far everything was correct.

Old profile:
1. I disabled all extensions except NoScript and restarted Firefox.
2. I opened google.com, clicked the doodle and got the no-script version. Same as above.
3. I enabled scripts for google.com domain, reloaded the page and got the version with scripts. Same as above.
4. I middle-clicked "Images" and got the new tab with the version without scripts. This is incorrect.
5. If I repeatedly middle-click "Images", at some point the version with scripts starts to appear in the new tab.

I'm trying to identify the problem in the old profile, but this takes time. I hoped somebody knows the answer already.