Prevent websites from automatically reloading pages

Webmasters have a number of techniques at their disposal for creating self-updating or reloading websites. From basic meta-refresh to more advanced options that rely on JavaScript.

While this can sometimes be useful if a site automatically reloads content, it can also be a nuisance, especially if it doesn’t have a prominent pause or stop button.

Sometimes it helps if the the entire page or some content on it automatically refreshes. It is useful if you follow a sports match on one site and get self-updated scores and information about the game, and eBay and other auction sites may update the highest bid whenever ‘She changes.

Websites automatically reload sometimes when the user does not want it; it can be very disruptive. Fortunately, Internet users have certain options for managing these sites.

The following guide examines options for popular Google Chrome, Mozilla Firefox, Internet Explorer, and Microsoft Edge web browsers. The methods can also work in “associated” browsers. Pale Moon or Waterfox support the same options that Firefox supports, and Vivaldi or Opera the same methods that work in Google Chrome.

Disable automatic reloading in Google Chrome

To note: The Chrome extension is no longer available. There doesn’t seem to be an alternative to Chrome that works on all sites. Finish

The most popular desktop web browser doesn’t have any built-in options to turn off auto-reload pages. In fact, the only options users have are either installing the Auto Refresh Blocker extension – which has a rating of just 2.33 stars out of 5 – or running the Developer Tools console instructions instead.

The extension’s low rating is due to users reporting that it doesn’t work for specific sites.

The functionality of the extension becomes clear when you open its options. It turns off meta refresh items on web pages and also ignores query strings for meta items.

Users can enable HTTP refresh header blocking feature alongside this, and can add their own custom query strings and blacklist sites.

The console option completely blocks some refresh attempts. Just press F12 to bring up developer tools in Google Chrome, go to console, paste window.onbeforeunload = function () {return ‘Reload?’;} and run it. It should work in other browsers as well.

Note that the extension should work in other Chromium-based browsers such as Opera or Vivaldi.

Mozilla Firefox

automatic updating of the firefox block

Firefox users can use the built-in functionality to disable automatic reloading of web pages in the web browser. The options are not available in the main user interface or on the settings page, but it is still possible to manipulate the functionality from the browser.

  1. Load about: config? Filter = availability.blockautorefresh in the browser’s address bar.
  2. You may receive a warning prompt if you are opening about: config for the first time in the browser.

The preference determines whether the automatic refresh feature is enabled in Firefox or blocked. Preference takes care of meta http-equiv="refresh" and HTTP header update instructions.

Previous versions of the Firefox web browser had an option under the options under Advanced> General> Accessibility (Warn me when websites try to redirect or reload page “but this option is no longer listed in recent browser versions Web.

Firefox users can set the preference browser.meta_refresh_when_inactive.disabled also true, which prevents automatic refreshes when the tab is not active.

Microsoft Internet Explorer

disabling internet explorer meta refresh

Internet Explorer users and administrators can modify a zone’s security settings to enable or disable Meta Refresh in the browser.

  1. Open Internet Explorer on the device.
  2. Select Menu> Internet options.
  3. Go to Security and make sure the correct zone is selected (Internet is the default).
  4. Click on the “custom level” button.
  5. Scroll down until you find “Allow Meta Refresh” under Miscellaneous.
  6. Set the option to “disable” (the default is enabled).
  7. Click on OK.

The setting affects only meta-refresh and not other types of refreshes.

Microsoft Edge

Microsoft Edge does not currently offer any options to turn off auto-refreshing websites. Edge supports extensions, but no extensions exist at this point that provide the functionality to prevent pages from automatically reloading in the browser.

summary

Prevent websites from automatically reloading pages

Article name

Prevent websites from automatically reloading pages

The description

Some websites reload pages without you wanting to. Find out how to prevent them from automatically refreshing web pages.

Author

Martin Brinkmann

Editor

Ghacks Technology News

Logo

Publicity


Source link

About Christopher Taylor

Check Also

Unexpected Things You Didn’t Know You Could Buy With Crypto

Photo: Rovski (Shutterstock) Most people buy and socket cryptocurrency in the hope that it will …

Leave a Reply

Your email address will not be published. Required fields are marked *