Disable ALL Scripts but keep META refresh working.

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

Disable ALL Scripts but keep META refresh working.

Post by AtomicOne »

Hi, i used the search and read the faq, but i did not find an answer to this ...

I'm using NS with Firefox and i would like to disable every scripts on every host / ip.
But ...
I would like to keep the meta refresh within html head working.
In my understanding meta refresh is a pure HTML function.
Why does NS block it ?

To temporarily allow this one site is not an option, because all sites came from the same host (some kind of proxy / tunnel) but may contain unproved content.

Thanks for your help.
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

Re: Disable ALL Scripts but keep META refresh working.

Post by barbaz »

make sure there are no websites in your whitelist and try
noscript options -> advanced -> untrusted -> un-check "forbid meta redirections..."
?
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
AtomicOne

Re: Disable ALL Scripts but keep META refresh working.

Post by AtomicOne »

Poorly nothing ...
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

Re: Disable ALL Scripts but keep META refresh working.

Post by barbaz »

Are you sure this is NoScript blocking meta refreshes?
verify that about:config -> accessibility.blockautorefresh is set to false
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
AtomicOne

Re: Disable ALL Scripts but keep META refresh working.

Post by AtomicOne »

Yeah, i'm sure.

accessibility.blockautorefresh is set to false

And this behavior changes if i set NS to "Allow all scripts generally" (i'm using German Version, don't know the function is named in english).
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

Re: Disable ALL Scripts but keep META refresh working.

Post by barbaz »

AtomicOne wrote:And this behavior changes if i set NS to "Allow all scripts generally" (i'm using German Version, don't know the function is named in english).
That does not necessarily mean NoScript is blocking the meta refreshes.

As a test, can you completely disable NoScript ("Yes, remove ALL protections"), restart browser, then go
about:config -> set javascript.enabled to false
Are the meta refreshes blocked then?
If _not_, try creating a new profile with only NoScript latest development build installed, *leaving all default settings as-is*. If the meta refreshes are blocked in this new profile, you might have found a NoScript bug; if they are allowed, you'll probably need to do Standard Diagnostic on your normal profile.

Please let us know how it goes, thanks.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
AtomicOne

Re: Disable ALL Scripts but keep META refresh working.

Post by AtomicOne »

barbaz wrote:As a test, can you completely disable NoScript ("Yes, remove ALL protections"), restart browser, then go
about:config -> set javascript.enabled to false
Are the meta refreshes blocked then?
No, with this configuration refreshes are working.
barbaz wrote:If _not_, try creating a new profile with only NoScript latest development build installed, *leaving all default settings as-is*. If the meta refreshes are blocked in this new profile, you might have found a NoScript bug; if they are allowed, you'll probably need to do Standard Diagnostic on your normal profile.

Please let us know how it goes, thanks.
Ok, i've done that.
Now refreshes are working for active tabs, but not for background tabs.
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

Re: Disable ALL Scripts but keep META refresh working.

Post by barbaz »

AtomicOne wrote:refreshes are working for active tabs, but not for background tabs.
http://htipe.wordpress.com/2010/06/24/n ... sh-option/


Unfortunately I don't know what else to say about your regular profile, sorry. :(
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140427 Firefox/24.0 PaleMoon/24.5.0
AtomicOne

Re: Disable ALL Scripts but keep META refresh working.

Post by AtomicOne »

barbaz wrote:
AtomicOne wrote:refreshes are working for active tabs, but not for background tabs.
http://htipe.wordpress.com/2010/06/24/n ... sh-option/


Unfortunately I don't know what else to say about your regular profile, sorry. :(
HEY ... That solved my problem.

Many thanks.

But i still don't understand why NoScript blocks this.
This is not a "Script" functionality. It's pure HTML.
Anyhow ...
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Disable ALL Scripts but keep META refresh working.

Post by Thrawn »

AtomicOne wrote: But i still don't understand why NoScript blocks this.
This is not a "Script" functionality. It's pure HTML.
To prevent tabnabbing attacks, where an ordinary page changes (in the background) into what looks like a login page, and unsuspecting users assume that something timed out and try to log back in.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Disable ALL Scripts but keep META refresh working.

Post by therube »

Just to note, those blocks are noted in Error Console:

Code: Select all

[NoScript] Blocking refresh on unfocused tab, http://forums.mozillazine.org/posting.php?mode=reply&f=38&t=2834741->http://forums.mozillazine.org/viewtopic.php?f=38&t=2834741
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:29.0) Gecko/20100101 SeaMonkey/2.26
Post Reply