4

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone when it refreshes the page. Or, when you are reading a text, it is really disturbing to have a page refreshment.

I believe that most of these evil people use Javascript to refresh the page. Is there any extension or userscript for solving this. The tool must prevent any page refreshment action which is attempted without user interaction (like clicking a submit button, or pressing F5). I'm using both Chrome and Firefox, I need solutions for both of these browsers.

slhck
  • 235,242
hkBattousai
  • 3,219
  • 16
  • 46
  • 62

2 Answers2

2

It's not always a JavaScript action. In most of cases it is a HTML Meta content assured by this tag:

<meta http-equiv="refresh" content="5000">

You can maybe edit it, using FireBug or a Client Side HTML editor, and delete this tag (if exists).

0

If it's JavaScript, notscripts and noscript will allow you to control what JavaScripts load in Chrome or Firefox. However, video may require allowing scripts to run.

Fuhrmanator
  • 2,889