Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When javascript is off (NoScript), a site redirects me and i can't get back to the page i came to.

<noscript><meta http-equiv="refresh" content="0; URL=/badbrowser.php"></noscript> 

How to forbid such redirect but let me follow it manually (like NoRedirect does), or at least make it leave an entry in page history?

NoRedirect doesn't handle this situation.

Information for other browsers is welcome too.

share|improve this question
    
What browser are you using? What OS? What other add ons do you have? –  Canadian Luke Mar 6 '13 at 19:50
    
Browser=firefox, the rest doesn't matter, does it? –  Smit Johnth Mar 6 '13 at 19:51
    
Kinda does, as some add ons also affect scripts, more so then just NoScript –  Canadian Luke Mar 6 '13 at 19:53
    
This is standard behaviour of browsers to follow this kind of redirect and leave no trace in page history. Now, how to change that? –  Smit Johnth Mar 6 '13 at 20:20
    
But name 1 browser that is completely based on the open standards of the Internet –  Canadian Luke Mar 6 '13 at 20:32
show 2 more comments

3 Answers

A really quick solution:

open Scratchpad (Shift+F4)
switch Environment to Browser
type gBrowser.webNavigation.allowMetaRedirects = false
Execute/Run

Congratulations, now the current tab (and only that tab) will be immune to meta redirects.

share|improve this answer
add comment

NoScript → Options → Advanced → Untrusted → 'Forbid META redirections inside <noscript> elements'

share|improve this answer
add comment

In Internet Explorer, “Tools” –> “Internet Options” brings up the “Internet Options” window.  Go to the “Security” tab and click on “Custom Level”; a “Security Settings” window will appear.  It has a bunch of options (settings) in groups; the groups are sorted alphabetically, and the options are sorted within the groups.  In the “Miscellaneous” group (about halfway down) there is an “Allow META REFRESH” option (which can be set to “Disable” or “Enable”).

share|improve this answer
    
Is it completely disabled or can i enable single redirects manually? –  Smit Johnth Mar 7 '13 at 21:04
    
Well, of course, you can always “View Source”, copy the URL and paste it into the address bar. I don’t know of anything better than that; in fact, AFAIK, it doesn’t even tell you that there is a META REFRESH on the current page. –  Scott Mar 7 '13 at 21:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.