How would you stop a page from refreshing automatically?

Clone picture Clone · Apr 19, 2017 · Viewed 21.7k times · Source

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?

Answer

Loïc Lopes picture Loïc Lopes · Apr 19, 2017

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