搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How can I prevent web pages from automatically reloading, such as The Druge Report, etc.

  • 4 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 finitarry

more options

Several web sites I frequent automatically reload their front page whenever they want to...not when I manually refresh...interrupting streaming videos, etc. I do not want these pages to do this, only I want the ability to manually refresh a web page.

Several web sites I frequent automatically reload their front page whenever they want to...not when I manually refresh...interrupting streaming videos, etc. I do not want these pages to do this, only I want the ability to manually refresh a web page.

所有回覆 (4)

more options

The Drudge Report does that via a JavaScript timer.

Other sites may use similar methods or use a refresh meta tag.

more options

So is the answer to just disable JavaScript in the Content preferences pane?

I know very little about running Scripts. Are there any downsides to disabling JavaScript?

more options

Yes, many sites need JavaScript to be enabled to work properly.

This site will most likely not work and in the Knowledge Base you see the content for all Firefox versions and platforms.
So you shouldn't disable JavaScript globally, but you can do that selectively on a specific tab or based on websites.

You can block and allow scripts selectively for websites with an extension like NoScript or YesScript.

more options

I believe that enabling this setting in about:config will prevent automatic refresh:

accessibility.blockautorefresh - set it to true