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

搜索 | 用户支持

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

详细了解

Firefox 25.0.1 and Facebook have JavaScript issues

  • 5 个回答
  • 60 人有此问题
  • 3 次查看
  • 最后回复者为 blackappy

more options

I am using Firefox 25.0.1 with Mac IOS 10.9 on my Macbook Air. When trying to get to Facebook, I am told that I have to enable JavaScript in my browser or go to the mobile site. I am given no instructions on enabling JavaScript, nor can I find JavaScript in my settings or add-ons. Safari does not have this issue, but I'd prefer to use Firefox. Unfortunately, a web search of this issue does not bring me any results. Is it just me?

I am using Firefox 25.0.1 with Mac IOS 10.9 on my Macbook Air. When trying to get to Facebook, I am told that I have to enable JavaScript in my browser or go to the mobile site. I am given no instructions on enabling JavaScript, nor can I find JavaScript in my settings or add-ons. Safari does not have this issue, but I'd prefer to use Firefox. Unfortunately, a web search of this issue does not bring me any results. Is it just me?

被采纳的解决方案

Google searching is telling me that others are having this same issue with Firefox 25.0.1. So far, the only thing that has worked for everyone has been to do a reset of Firefox by going to Firefox > Help > Troubleshooting Information > Reset Firefox.

I tried it and it worked for me! Not sure what the original problem was, but it seems to have been corrected at this time.

定位到答案原位置 👍 4

所有回复 (5)

more options

Firefox has a general on/off setting for JavaScript. If it was off, lots of sites would be giving you the same message. Since it's only on Facebook, I think something else might be the culprit here.

Your post didn't include any information on your add-ons, so I'll give some general advice.

Removing obsolete/conflicting/corrupted stored data

When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.

(1) Bypass Firefox's Cache

Use Command+Shift+r to reload the page fresh from the server.

Alternately, you also can clear Firefox's cache completely using:

Firefox menu > Preferences > Advanced

On the Network mini-tab > Cached Web Content : "Clear Now"

If you have a large hard drive, this might take a few minutes.

(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:

  • right-click and choose View Page Info > Security > "View Cookies"
  • Tools menu > Page Info > Security > "View Cookies"
  • click the padlock or globe icon in the address bar > More Information > "View Cookies"

In the dialog that opens, you can remove the site's cookies individually.

Then try reloading the page. Does that help?

Testing for an extension conflict

Firefox's Safe Mode is a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: Diagnose Firefox issues using Troubleshoot Mode.

You can restart Firefox in Safe Mode using

Help > Restart with Add-ons Disabled (Flash will still work)

In the dialog, click "Start in Safe Mode" (not Reset)

Does Facebook work any better?

more options

Thank you - all great advice. I went through your list and did each and every thing you suggested, but nothing solved the issue. I have gone through my settings and tweaked those, trying to load Facebook after each tweak, but still I am unable to use Firefox with Facebook. This just happened yesterday. Prior to that, I had no issues.

I also can not view Facebook on a PC using the same Firefox version, so I know it's not platform specific.

more options

选择的解决方案

Google searching is telling me that others are having this same issue with Firefox 25.0.1. So far, the only thing that has worked for everyone has been to do a reset of Firefox by going to Firefox > Help > Troubleshooting Information > Reset Firefox.

I tried it and it worked for me! Not sure what the original problem was, but it seems to have been corrected at this time.

由Lori于修改

more options

Thank you for the update. The Reset feature create a folder on your desktop named Old Firefox Data. You might want to keep that for a few weeks in case you notice anything critical missing after the reset.

Also, it contains the prefs.js file which has many of your old custom settings, one of which might be the problem. If you're in a forensic mood some time, you could compare it with your new prefs.js file. To find that file use either:

  • Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table in the page, click the "Show in Finder" button. This is your new profile folder which has the new prefs.js file in it. Initially, pres.js is mostly blank, but as you use Firefox, many custom preferences (and also some data stored by Firefox as it goes about its business) will be added.

more options

I was unable to enable javascript in 25.0.1 for a few frustrating minutes. My solution that worked was to go to:

about:config (posted in browser)

and change: javascript.enabled from false to true under the value column.

由blackappy于修改