搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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.