<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

HOW TO disable automatic META tag refresh/redirect through your browser

What may be a feature in a web application to some, may be intrusive or offending to others. For instance, the timed redirect/refresh using the META tag feature may sometimes be a hindrance.

Browsers are supposed to allow users to control all timeouts
, but Firefox 2 and lower do not provide a way to control timed redirects. Opera & IE allow you to control it.

This post by Ben Buchanan shows how to disable meta refresh:

* Opera: browse to opera:config#UserPrefs|ClientRefresh, then de-select the option and restart Opera
you can go to Preferences > Advanced > Network and unchecked "Enable automatic redirection"
* Firefox: you can wait for version three, or install the Web Developer's Toolbar and click Disable > Disable Meta Redirects.
use the Firefox extension RefreshBlocker to blacklist or whitelist web-sites which have redirect/refresh implemented with the META tag . I tested it on Firefox 2 and it worked fine for me.
* In Internet Explorer: go to Tools > Internet options > Security tab > Custom Level button > Miscellaneous category > set "Allow META REFRESH" to Disable.

I noticed that while Opera & the Firefox extension RefreshBlocker gave an indication that automatic redirection was blocked, IE 6 blocked the redirection/refresh but just gave a blank page.

Update (2-Sep-2010):

The above ways of blocking META tag refreshes remain unchanged in newer versions of Opera & IE.

This feature is now available natively in Firefox  (I tested in ver 3.6). Go to Tools > Options.. and in the Advanced section's General tab, check the "Warn me when web sites try to redirect or reload the page" checkbox in the Accessibility panel.

Currently, Chrome does not natively support any settings to block META reloads nor are there any related Extensions. I tried out a few Greasemonkey scripts to block META-based redirects (that were possibly meant for Firefox) but they did not work for me

Also see:
HOW to continuously refresh any web-page in IE8 & Firefox

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

Posted by Blogger Leon Victor | 10/20/2012 05:00:00 PM

Can we do this action of disable meta tags in latest Firefox version that is Firefox 15?    


Post a Comment