Firefox prevented this page from automatically reloading

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

Firefox prevented this page from automatically reloading

Post by chris »

I just upgraded to v1.9.9.81, the latest, and suddenly, Firefox is showing messages such as:

"Firefox prevented this page from automatically reloading"

"Firefox prevented this page from automatically redirecting to another page"

Under Tools > Options > Advanced, "Warn me when web sites ..." is turned off, yet I see these messages.

Could it be related to NoScript?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox prevented this page from automatically reloading

Post by Giorgio Maone »

Yes it is.
Refreshes are automatically blocked for background (non focused) tabs which are not whitelisted.
This is meant to prevent scriptless tabnabbing variants, see http://noscript.net/changelog#v1.9.9.81
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
chris

Re: Firefox prevented this page from automatically reloading

Post by chris »

I understand.

Perfect, I like the feature.

Needless to say, if I click ALLOW it will go in the whitelist and I won't be asked again for that particular domain.

Correct?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox prevented this page from automatically reloading

Post by Giorgio Maone »

chris wrote:Needless to say, if I click ALLOW it will go in the whitelist and I won't be asked again for that particular domain.
Nope. Currently you can add sites manually, in the noscript.forbidBG.exceptions about:config preference.
However, the automated behavior you're describing is actually desirable and will be probably added in a future release (this feature has been implemented in less than 1 day).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox prevented this page from automatically reloading

Post by Giorgio Maone »

Notice: this feature is probably going to be much less invasive and more automated in next release, follow the discussion here: http://forums.informaction.com/viewtopi ... 662#p18662
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Kex
Posts: 2
Joined: Sat May 29, 2010 9:03 pm

Re: Firefox prevented this page from automatically reloading

Post by Kex »

Giorgio Maone wrote:Currently you can add sites manually, in the noscript.forbidBG.exceptions about:config preference.
How? Obviously just adding a space and then the URL of the site doesn't do the trick.
Whenever I click "allow", it'll do the refreshing as long as I keep the tab focussed. As soon as I leave, I get that damn bar again, for a site which I do not want to put on any other whitelist. All I want is the frequently updated title for that tab, which I don't get if that thing isn't allowed to refresh.

So, how do I make this exception list work?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Firefox prevented this page from automatically reloading

Post by Alan Baxter »

There's a typo in the pref's implementation. It should be fixed in the next release. Until then use noscript.forbidGBRefresh.exceptions instead.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100527 Firefox/3.6.4
Kex
Posts: 2
Joined: Sat May 29, 2010 9:03 pm

Re: Firefox prevented this page from automatically reloading

Post by Kex »

Thanks, that did the trick.

I'm somewhat glad that things like this (making a typo go productive) don't only happen to me ...
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Firefox prevented this page from automatically reloading

Post by Alan Baxter »

You're welcome.
Kex wrote:I'm somewhat glad that things like this (making a typo go productive) don't only happen to me ...
:lol:
I always say: "Thank goodness for our customers, i.e. beta testers."
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100527 Firefox/3.6.4
Dirk S

Re: Not working on active focus

Post by Dirk S »

I was not aware, that a page can refresh without the intervention of scripts. Nevertheless. The new forbidRefresh function has impacts on the active focus. I always see the blocking message, when I for example click into the navigation bar of news.google.de. I tried the values 1 and 3 for noscript.forbidBGRefresh without success. Only the value 0 is working. But here the complete function is disabled.

I'd like to get the complete refresh disabled on any tab without any notification. And it tooks me a long way to focus out, what the message "Firefox has blocked..." exactly means. Could this be changed in "NoScript has blocked...", to better identify the source for this problem?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Not working on active focus

Post by Alan Baxter »

I think it may work differently in NoScript 1.9.9.82, Dirk. Could you try 1.9.9.82 and let us know what you think about it?
http://noscript.net/getit#devel
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100527 Firefox/3.6.4
Dirk S

Re: Firefox prevented this page from automatically reloading

Post by Dirk S »

Version 1.9.9.82 is much better. Now the focus tab automatically reloads without a notification. Good work, Alan
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Dirk S

Re: Firefox prevented this page from automatically reloading

Post by Dirk S »

Ups. Now there is another problem with version 1.9.9.82. If I am on news.google.de and enter another address in the link field, I temporary switch to the new site, bus shortly after this I get the google page back.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Firefox prevented this page from automatically reloading

Post by Giorgio Maone »

Dirk S wrote:Ups. Now there is another problem with version 1.9.9.82. If I am on news.google.de and enter another address in the link field, I temporary switch to the new site, bus shortly after this I get the google page back.
Please check latest development build, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Dirk S

Re: Firefox prevented this page from automatically reloading

Post by Dirk S »

Now the focused tab only reloads when I switch to it (without notification) and I gan also access other sites in this tab.

But: If I enter a word instead of a complete address, e.g. "kjsahdfkjsahkd", it will not be used as a search criterium and the old page refreshes. When I use noscript.forbidBGRefresh=0, I get the results of google. If I enter a word, that I used before, it seems to work, maybe, because it's in the search focus of firefox itself.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Post Reply