为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How do I turn Javascript on in my browser ?

  • 3 个回答
  • 73 人有此问题
  • 12 次查看
  • 最后回复者为 cor-el

more options

I have developed a problem where by every time I go to certain web sites I am asked to turn on Javascript in my browser in order to continue viewing the page correctly. Whilst trying to find an answer to this problem I have discovered it needs to say under about:config "Javascript enabled" - default - true, but mine says default - boolean - true. Does anyone know if this is right and can anyone tell me what the correct settings should be so that I don't get the same statement on pages that really need Javascript ? Thank you.

I have developed a problem where by every time I go to certain web sites I am asked to turn on Javascript in my browser in order to continue viewing the page correctly. Whilst trying to find an answer to this problem I have discovered it needs to say under about:config "Javascript enabled" - default - true, but mine says default - boolean - true. Does anyone know if this is right and can anyone tell me what the correct settings should be so that I don't get the same statement on pages that really need Javascript ? Thank you.

所有回复 (3)

more options

If the list in About:config shows that your 'javascript enabled' option is set as 'true' then it may be that the java plugin has been disabled through the add-ons manager (The type 'boolean' is normal, it just defines the 'value' as either true or false).

You can access Add-ons through the 'tools' drop down menu, or through the icon with three horizontal lines. Select 'Add-ons', this should open the Add-ons manager. Select 'Plugins' from the left side of the manager, you should now see a list of the plugins currently installed in your Firefox browser. Confirm that your Java platform is set to either 'ask to activate' or 'always activate'.

If you are still having issues with Java content, you may need to update your Java components. This support page can walk you through updating and managing your Java plugin:

https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content

more options

^The Java plugin and JavaScript are unrelated as JavaScript was originally going to be called LiveScript.

Anyways I see you have the NoScript extension installed as it may be blocking the JavaScript.

more options

You can try these steps in case of issues with web pages:

You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • Hold down the Shift key and left-click the Reload button
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Command + Shift + R" (Mac)

Clear the cache and remove cookies only from websites that cause problems.

"Clear the Cache":

  • Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window