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

搜索 | 用户支持

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

详细了解

This pops up twice after opening Firefox '[JavaScript Error: "dir is null" {file: "file:///C:/Users/... and everytime a new window is opened. Opening Add-ons from the Tools menu crashes Firefox.

  • 5 个回答
  • 82 人有此问题
  • 4 次查看
  • 最后回复者为 SteveIs

more options

Every time I open Firefox, or when a website pops open a new window (NOT when I open a new tab or window) the following error message appears twice: '[JavaScript Error: "dir is null" {file: "file:///C:/Users/Steve/AppData/Roaming/Mozilla/Firefox/Profiles/k8nfi7qa.default/extensions/%7B0538E3E3-7E9B-4d49-8831-A227C80A7AD3%7D/components/nsForecastfox.js" line: 323}]' when calling method: [ffIDiskService::get] Then, after closing the error window twice, an AnyColor start/welcome screen appears in a second, open, tab, which I then close to resume with the first (active) tab. If I try to open Add-ons from the Tools menu, Firefox locks up and a script error message appears. Then it becomes "not responding" and I have to force-close Firefox and re-open.

Every time I open Firefox, or when a website pops open a new window (NOT when ''I'' open a new tab or window) the following error message appears twice: '[JavaScript Error: "dir is null" {file: "file:///C:/Users/Steve/AppData/Roaming/Mozilla/Firefox/Profiles/k8nfi7qa.default/extensions/%7B0538E3E3-7E9B-4d49-8831-A227C80A7AD3%7D/components/nsForecastfox.js" line: 323}]' when calling method: [ffIDiskService::get] Then, after closing the error window twice, an AnyColor start/welcome screen appears in a second, open, tab, which I then close to resume with the first (active) tab. If I try to open Add-ons from the Tools menu, Firefox locks up and a script error message appears. Then it becomes "not responding" and I have to force-close Firefox and re-open.

由SteveIs于修改

被采纳的解决方案

It sounds like a problem with an add-on, in particular the Forecastfox extension. To test this try disabling the add-on in safe mode, for details of how to do that see Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.

定位到答案原位置 👍 2

所有回复 (5)

more options

选择的解决方案

It sounds like a problem with an add-on, in particular the Forecastfox extension. To test this try disabling the add-on in safe mode, for details of how to do that see Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.

more options

Yes this worked, but I had tried starting Firefox in Safe Mode before, entering exactly (copy & paste) as instructed by Firefox (firefox -safe -mode). It failed to open Firefox in Safe Mode. With some experimentation, I discovered that the problem is putting a space between the word firefox and the dash. The correct entry is to run "Firefox-safe-mode". Firefox troubleshooting should correct that minor typo. Once Firefox was finally in safe mode I was able to disable the Forecastfox add-on, which I had already suspected as the problem. Thank you for answering my question.

more options

You're welcome

I checked the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and safe mode articles, both have the space between Firefox and the dash.

more options

There only need to be a space between firefox and the first dash (firefox -safe-mode), there should be no space in -safe-mode

more options

Apparently, at least in my system, putting a space anywhere in the syntax will not work to open Firefox in safe mode. I just tried again. A space between firefox and the dash will simply open Firefox in standard mode; without the space, Firefox correctly opens in safe mode. Perhaps if it doesn't make any difference on most systems, the Firefox articles should omit the space completely or suggest trying both alternatives. Frankly, I don't see how my system is any different than any other generic Vista system, as it's basically a standard factory setup. But I suppose it's possible. Thanks for your feedback.