搜尋 Mozilla 技術支援網站

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

了解更多

Is it possible to disable javascript on the fly?

  • 1 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

After a web page has loaded sometimes I need to disable JavaScript without reloading the page. In the old Opera this was as simple as pressing F12 and disabling the option 'Enable JavaScript'. I've tried a few add-ons (NoScript, JS Switch, Toggle JS and QuickJava) but they all seem to reload the page to disable JS. The only way I've found to do what I want is to install Firebug to break into the code but I find this option very convoluted. Is there a simple way to disable JS without reloading the page?

After a web page has loaded sometimes I need to disable JavaScript without reloading the page. In the old Opera this was as simple as pressing F12 and disabling the option 'Enable JavaScript'. I've tried a few add-ons (NoScript, JS Switch, Toggle JS and QuickJava) but they all seem to reload the page to disable JS. The only way I've found to do what I want is to install Firebug to break into the code but I find this option very convoluted. Is there a simple way to disable JS without reloading the page?

所有回覆 (1)

more options

I wasn't aware that QuickJava is reloading the page as only the javascript.enable pref needs to be toggled.

What makes you think that the page is reloaded?

You can also look at the PrefBar extension.