Quantcast
Channel: Web Development – IT by Mitch
Viewing all articles
Browse latest Browse all 11

Block meta refresh redirects in FireFox 56+

$
0
0

Recent versions of Firefox removed the checkbox from the main user interface which allowed users to tell FF to warn them when a webpage was using meta http-equiv refreshing to send them to another page. Power users who want more control and Web Devs who are doing testing will be happy to know that the feature is still available, if you’re willing to tinker with FF.

Simply enter “about:config” into the FF browser address bar. Accept liability for modifying FF. Search for “accessibility:blockautorefresh” and modify to boolean TRUE.

——————————————————-
If you’re looking to implement meta refresh in your code, the html is simple: <meta http-equiv="refresh" content="5;url=http://example.com/" />

Content controls how many seconds until the redirect kicks in. Test with content set >0 then lower it to suit your implementation.



Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images