We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 replies
  • 82 have this problem
  • 4 views
  • Last reply by 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.

Modified by SteveIs

Chosen solution

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.

Read this answer in context 👍 2

All Replies (5)

more options

Chosen Solution

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.