Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would you stop a page from refreshing automatically?

I have a problem when I am trying to check the source of an interesting page which keeps refreshing automatically every 3-5 seconds (presumably due to some js script) which resets my Inspect Element Inspector window every time the page is refreshed.

Is there any other way other to stop that page from refreshing or perhaps the Inspector window from resetting itself other than turning on NoScript to stop the page from refreshing automatically?

like image 601
Clone Avatar asked Apr 19 '17 06:04

Clone


People also ask

How do I stop chrome from auto refreshing?

Disable Auto-Refresh in Google ChromeType chrome://extensions in the URL and Navigate to Options. Go to Details and click on Extension options. Tick the option with Disable Meta Refresh elements in pages and click on Close.

Why does my page keep refreshing by itself?

Why Chrome Auto-Reload? By default, Chrome is programmed to automatically erase the data of any open, loaded tabs in case the browser uses a lot of memory. It is an automated process initiated to conserve system resources and reduce the pressure off your browser.

How do I stop chrome from auto refreshing on my phone?

Yes, there is a way to stop the auto reloads. So first of all, the #automatic-tab-discarding flag has been removed from the latest chrome update. Scroll down to the very end of the Developer Options where you will see a feature called “Don't Keep Activities”. Disable this option and restart your device.


1 Answers

Usually I just open DevTools, switch to the appropriate panel if necessary, and hit pause.

Opening DevTools: Via menus, or by press F12, Ctrl+Shift+I, or Cmd+Shift+I depending on browser and OS.

Switching panels: Pick the panel from the tabs at the top of DevTools. It'll be called "Debugger" (Firefox, IE) or "Sources" (Chrome) or similar.

Pausing: In the Debugger/Sources panel, click the pause button (usually looks like the pause button on a television remote control, ||) or press the keyboard equivalent. Keyboard equivalents are

  • Firefox & Chrome: F8
  • IE: Ctrl+Shift+B
like image 185
Loïc Lopes Avatar answered Sep 21 '22 02:09

Loïc Lopes