Page 1 of 1

Refreshloop

Posted: Tue Dec 10, 2013 7:39 am
by victor50
Not sure if this is a (recent) NoScript problem: Sometimes a page starts "flashing", i.e. refreshing itself every second or so. When I add newly added domains as allowed in NoSrcipt (because of the flashing this is sometimes hard to do) the flashing stops.

Re: Refreshloop

Posted: Tue Dec 10, 2013 6:29 pm
by barbaz
about:config -> set accessibility.blockautorefresh to true ?

Re: Refreshloop

Posted: Tue Dec 10, 2013 7:32 pm
by victor50
These are the settings:

accessibility.blockautorefresh;false
services.sync.prefs.sync.accessibility.blockautorefresh;true

I think I would like to keep it that way, but may be I could add something like

services.sync.prefs.sync.NoScript.blockautorefresh;true ?

Re: Refreshloop

Posted: Tue Dec 10, 2013 9:28 pm
by barbaz
victor50 wrote:These are the settings:

accessibility.blockautorefresh;false
services.sync.prefs.sync.accessibility.blockautorefresh;true

I think I would like to keep it that way
Sorry, I don't think I understand what you want to do. Could you please explain it more, or are you saying that flipping accessibility.blockautorefresh didn't block the automatic reloads?
victor50 wrote:may be I could add something like

services.sync.prefs.sync.NoScript.blockautorefresh;true ?
I think that would just tell your browser to sync the preference "Noscript.blockautorefresh", which doesn't exist, so that wouldn't work.

Re: Refreshloop

Posted: Tue Dec 10, 2013 10:14 pm
by victor50
I haven't tried it, also because I haven't registered the (few) pages where this is happening. As soon as I come across a new one I will try it. Still I think it is caused somehow by NoScript. In one instance it happened at a site I quite regularly visit. The first article I read was okay. The second started flashing/reloading using up my credits to view articles. So I can't test it on that particular page.

I also noted that if you allow url's with the NoScript menu Firefox somtimes (?) starts reloading all the tabs. Not only the one where the permission was changed. Can't remember this always being the case.

Re: Refreshloop

Posted: Tue Dec 10, 2013 11:36 pm
by barbaz
The pref won't totally prevent pages from auto-reloading; you'll get an infobar at the top asking if you want to allow the page to redirect or reload, and you click "Allow" if you decide you want that. If you're really concerned about flipping this pref, you could quit your browser, copy your profile folder to an external drive, then make the change (which you could revert later by deleting your profile folder then restoring it from your external drive).
victor50 wrote:I also noted that if you allow url's with the NoScript menu Firefox somtimes (?) starts reloading all the tabs. Not only the one where the permission was changed. Can't remember this always being the case.
That's controlled by the about:config preferences noscript.autoReload.allTabs and noscript.autoReload.allTabsOnPageAction ...

Re: Refreshloop

Posted: Wed Dec 11, 2013 8:59 am
by victor50
I will try this when I encounter another page that has this problem although I don't think I want this on permanently and this was no problem in the past. In the meantime I turned off ReloadallTabs and notify.bottom. Are there any other noscript settings that come to mind in this case? TIA

Re: Refreshloop

Posted: Wed Dec 11, 2013 2:47 pm
by barbaz
victor50 wrote:Are there any other noscript settings that come to mind in this case? TIA
Never used this, and no idea if it will solve this problem, but now it just occurred to me
NS Options -> Advanced -> Untrusted -> Forbid META redirections inside <NOSCRIPT> elements
:?:
Don't know the about:config equivalent, sorry.

Re: Refreshloop

Posted: Mon Dec 23, 2013 7:03 pm
by PDQ
victor50 wrote:... I also noted that if you allow url's with the NoScript menu Firefox somtimes (?) starts reloading all the tabs. Not only the one where the permission was changed.
I noticed this problem days ago too. Clicking NoScript icon to "temporarily allow all this page" now reloads a bunch of tabs in addition to the one I'm on. I didn't see any obvious relation between the pages. Let me know if I can help with testing.

Re: Refreshloop

Posted: Mon Dec 23, 2013 11:24 pm
by barbaz
PDQ wrote:
victor50 wrote:... I also noted that if you allow url's with the NoScript menu Firefox somtimes (?) starts reloading all the tabs. Not only the one where the permission was changed.
I noticed this problem days ago too. Clicking NoScript icon to "temporarily allow all this page" now reloads a bunch of tabs in addition to the one I'm on. I didn't see any obvious relation between the pages. Let me know if I can help with testing.
Again, it's not a bug - that's expected default behavior. If you don't want that, go to about:config and flip noscript.autoReload.allTabs and noscript.autoReload.allTabsOnPageAction to false .

Re: Refreshloop

Posted: Tue Dec 24, 2013 3:21 pm
by therube
> the (few) pages where this is happening

URLs?

Re: Refreshloop

Posted: Wed Jan 08, 2014 10:15 pm
by PDQ
barbaz wrote:
PDQ wrote:
victor50 wrote:... I also noted that if you allow url's with the NoScript menu Firefox somtimes (?) starts reloading all the tabs. Not only the one where the permission was changed.
I noticed this problem days ago too. Clicking NoScript icon to "temporarily allow all this page" now reloads a bunch of tabs in addition to the one I'm on. I didn't see any obvious relation between the pages. Let me know if I can help with testing.
Again, it's not a bug - that's expected default behavior. If you don't want that, go to about:config and flip noscript.autoReload.allTabs and noscript.autoReload.allTabsOnPageAction to false .
Thanks for the fix. Odd default behaviour, since the reloading tab domains have no relationship to the tab I wanted to allow. I do not recall this happening in the past (but they say memory goes first). I usually let things slide until I'm sure an update isn't going to fix it before tracking down the forum to find a solution. So, why would anyone want these other tabs to reload? And do these other domains also have scripts allowed? That would be scary.

Re: Refreshloop

Posted: Tue Jan 14, 2014 1:44 pm
by barbaz
@PDQ: Turns out that actually is a bug even though it's been that way for me ever since I started using NS almost two years ago. Sorry for the mis-information.
http://forums.informaction.com/viewtopi ... 10&t=18975