Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Drudgereport (and others) Autorefresh immune to NoScript, YesScript2.

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

Please, Mr Mozilla, build into FireFox a switch that we mere humans can use, which will PREVENT autorefresh (by any means) on a page where we turn the switch on. We have an F5 key to refresh a page when we want to refresh a page.

Please, Mr Mozilla, build into FireFox a switch that we mere humans can use, which will PREVENT autorefresh (by any means) on a page where we turn the switch on. We have an F5 key to refresh a page when we want to refresh a page.

Toutes les réponses (1)

more options

Drudgereport is known to use a timer to trigger auto refresh is two minutes (used to be: 1000 * 40 * 3, but now I see: 1000 * 35 * 3 so it is even now shorter).

  • var timer = setInterval("__drudge__321__autoRefresh()", 1000 * 35 * 3);

You can block this timer via a JavaScript bookmarklet that you need to run each time you (re)load one of its pages

  • javascript:clearInterval(timer);void(autoRefresh=null);

You can also search for code in one of the extensions (Greasemonkey, Violentmonkey, Tampermonkey) that allow userscripts to run. See this Drudgereport thread: /questions/1279947

Other websites may use a similar method, but will require their own JavaScript code.

Note that "accessibility.blockautorefresh = true" won't work in cases like this.