a couple of noscript meta refresh problems

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

a couple of noscript meta refresh problems

Post 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>
    
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: a couple of noscript meta refresh problems

Post 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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Post Reply