Page 1 of 1

Meta refresh

Posted: Thu Jun 18, 2009 10:42 am
by anthoy
Can I block meta refresh element with NoScript?

Re: Meta refresh

Posted: Thu Jun 18, 2009 12:40 pm
by Giorgio Maone
NoScript blocks some meta refresh elements (those inside <noscript> elements) because they're often used to redirect users with JavaScript disabled on a silly pages just saying they must enable it.
If you want to block any meta refresh element, just open Tools|Options|Advanced|General and tick the "Warn me whenever a web site tries to redirect me" checkbox.
Otherwise, if you want to block them on per-site basis, you can use the Refresh Blocker extension.

Re: Meta refresh

Posted: Thu Jun 18, 2009 2:26 pm
by anthoy
Thanks!

Re: Meta refresh

Posted: Fri Sep 18, 2009 1:51 pm
by Mc
Giorgio Maone wrote:NoScript blocks some meta refresh elements (those inside <noscript> elements) because they're often used to redirect users with JavaScript disabled on a silly pages just saying they must enable it.
If you want to block any meta refresh element, just open Tools|Options|Advanced|General and tick the "Warn me whenever a web site tries to redirect me" checkbox.
Otherwise, if you want to block them on per-site basis, you can use the Refresh Blocker extension.
I try to block meta refresh in SM 2.0b2, which has no such setting. RefreshBlocker doesn't work, even in blacklist mode. NoRedirect works blocking redirects, but I can't block meta refresh, don't know what I do wrong or if it just doesn't work in SM.
Would ABE do it?

Re: Meta refresh

Posted: Fri Sep 18, 2009 1:58 pm
by Giorgio Maone
Mc wrote:Would ABE do it?
Nope, unless you know the destination in advance.

Re: Meta refresh

Posted: Fri Sep 18, 2009 2:12 pm
by Mc
Giorgio Maone wrote:
Mc wrote:Would ABE do it?
Nope, unless you know the destination in advance.
It's just a site refresh, no redirection.

Re: Meta refresh

Posted: Fri Sep 18, 2009 2:18 pm
by Giorgio Maone
Mc wrote:It's just a site refresh, no redirection.
No, then.

Re: Meta refresh

Posted: Fri Sep 18, 2009 3:12 pm
by therube
Yes RefreshBlocker looks to be incompatible with SeaMonkey 2. (It says so once you install it, & then it looks to be ineffectual when you add a site to block.)

Further the Preference item accessibility.blockautorefresh (which does exist & work in FF3) does not exist or work in SeaMonkey 2 :cry:.


Sample META Refresh webpage (click the like this example link).
PS: To get refreshblocker to block that page, I placed ^.*fluffbucket in the blacklist (using FF).

Re: Meta refresh

Posted: Fri Sep 18, 2009 3:41 pm
by Mc
therube wrote:Yes RefreshBlocker looks to be incompatible with SeaMonkey 2. (It says so once you install it, & then it looks to be ineffectual when you add a site to block.)

Further the Preference item accessibility.blockautorefresh (which does exist & work in FF3) does not exist or work in SeaMonkey 2 :cry:.


Sample META Refresh webpage (click the like this example link).
PS: To get refreshblocker to block that page, I placed ^.*fluffbucket in the blacklist (using FF).
In Fx I use just the setting which toggles accessibility.blockautorefresh to cover unknown refreshing sites. For SM exists an unconfirmed bug about that setting https://bugzilla.mozilla.org/show_bug.cgi?id=465303

Re: Meta refresh

Posted: Fri Sep 18, 2009 4:26 pm
by therube
The Web Developer extension does work in SeaMonkey 2 & does have an options to Disable Meta Redirects (among many other things).

Image

Re: Meta refresh

Posted: Fri Sep 18, 2009 5:13 pm
by Mc
therube wrote:The Web Developer extension does work in SeaMonkey 2 & does have an options to Disable Meta Redirects (among many other things).
Thanks therube :-) that works, a little bit weird though so I needed some time testing. Seems it always allows one refresh.
AMO doesn't list that extension for SeaMonkey, BTW

Re: Meta refresh

Posted: Thu Oct 15, 2009 4:09 am
by Mc
Mc wrote: I try to block meta refresh in SM 2.0b2, which has no such setting. RefreshBlocker doesn't work, even in blacklist mode.
Version 0.5.1 from the developer's site http://www.vakuumverpackt.de/refreshblocker/ works in SeaMonkey (after the known modifications).

Re: Meta refresh

Posted: Thu Oct 15, 2009 4:21 am
by Tom T.
Giorgio Maone wrote:
Mc wrote:Would ABE do it?
Nope, unless you know the destination in advance.
Regarding this RFE, the only redirect that promped the RFE at this time always has destination http://www.yahoo.com.

I'd still like the feature in general, but what would the ABE rule be to prevent being redirected from mail.yahoo.com to http://www.yahoo.com upon logout of mail -- without interfering with login and navigation within mail, of course? Thanks.