Refreshloop

Bug reports and enhancement requests
Post Reply
User avatar
victor50
Junior Member
Posts: 25
Joined: Tue Jun 01, 2010 2:25 pm

Refreshloop

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post by barbaz »

about:config -> set accessibility.blockautorefresh to true ?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
User avatar
victor50
Junior Member
Posts: 25
Joined: Tue Jun 01, 2010 2:25 pm

Re: Refreshloop

Post 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 ?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post 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.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1
User avatar
victor50
Junior Member
Posts: 25
Joined: Tue Jun 01, 2010 2:25 pm

Re: Refreshloop

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post 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 ...
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1
User avatar
victor50
Junior Member
Posts: 25
Joined: Tue Jun 01, 2010 2:25 pm

Re: Refreshloop

Post 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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post 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.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1
PDQ
Posts: 11
Joined: Mon Dec 23, 2013 6:43 pm
Location: Ottawa Canada

Re: Refreshloop

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post 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 .
Last edited by barbaz on Tue Jan 14, 2014 1:44 pm, edited 1 time in total.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Refreshloop

Post by therube »

> the (few) pages where this is happening

URLs?
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 5.1; rv:28.0) Gecko/20100101 SeaMonkey/2.25a2
PDQ
Posts: 11
Joined: Mon Dec 23, 2013 6:43 pm
Location: Ottawa Canada

Re: Refreshloop

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
barbaz
Senior Member
Posts: 11064
Joined: Sat Aug 03, 2013 5:45 pm

Re: Refreshloop

Post 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
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23
Post Reply