Page 1 of 1

a couple of noscript meta refresh problems

Posted: Sat Dec 26, 2009 5:03 am
by al_9x
fx 3.5.6 & 2, new profile, forbid meta refresh inside noscript
  1. refresh to self with no url parameter not blocked

    Code: Select all

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    body<br>
    <noscript>
    noscript<br>
    <meta http-equiv="refresh" content="3">
    </noscript>
    </body>
    </html>
    
  2. refresh inside iframe not blocked, create a local page with an iframe pointing to a local page with the following content:

    Code: Select all

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    body<br>
    <noscript>
    noscript<br>
    <meta http-equiv="refresh" content="3;url=http://www.mozilla.org/">
    </noscript>
    </body>
    </html>
    

Re: a couple of noscript meta refresh problems

Posted: Thu Feb 11, 2010 10:34 pm
by Giorgio Maone
Refreshes in iframes are not blocked by design (a meaningful UI would be problematic).
Also the same URL case has not been considered, since the feature was mainly meant to avoid redirections to "Please enable Javascript" dummy pages.
If you need a catch all meta-refresh blocker, you can use Tools|Options|Advanced|Warn me when a web site tries to rediect or reload the page.