搜尋 Mozilla 技術支援網站

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

了解更多

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.