Firefox 55 and versions before it, offered ‘Warn me when websites try to redirect or reload the page’ option in Advanced Settings (Settings > Advanced > Accessibility).
The option when enabled, Firefox blocks auto refresh/reload of a page (that is trying to redirect to another page) and shows a notification on top of the same page with allow button at the end, saying ‘Firefox prevented this page from automatically redirecting to another page. By default, this option was set to disabled.
Firefox 56+: Where is ‘Warn me when websites try to redirect or reload the page’ Option?
FYI, the related preference still exists for you in about:config to toggle, here it is: accessibility.blockautorefresh.
Note: If you’re looking to enable redirect warning, you’ve to visit about:config and change the above preference value to true from (default) false.
If you don’t want to see Firefox warning when redirection happens to a page, you can turn it off, here is how that can be done.
Disabling Firefox Prevented this page from automatically redirecting to another page warning
- Visit about:cofnig
- Find the preference accessibility.blockautorefresh and change its value to false.