搜索 | 用户支持

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

详细了解

Getting "Firefox is already running..." when trying to open a local htm file.

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

more options

I have multiple Firefox profiles and I start Firefox with the -no-remote command line option. If I don't have any instances of Firefox running, I can open any local .htm/.html file (it will open with the default Firefox profile) but if an instance of Firefox is already running and I try to open a local .htm file (or if for example apps like JDownloader are trying to open a web page with the default browser which happens to be Firefox on my Win10 machine) I get the following error:

Firefox is already running, but is not responding. Te old Firefox process must be closed to open a new window.

Are there any tricks to fix this (Firefox command line options or Windows registry "hacks")?

Thanks in advance for your responses!

I have multiple Firefox profiles and I start Firefox with the -no-remote command line option. If I don't have any instances of Firefox running, I can open any local .htm/.html file (it will open with the default Firefox profile) but if an instance of Firefox is already running and I try to open a local .htm file (or if for example apps like JDownloader are trying to open a web page with the default browser which happens to be Firefox on my Win10 machine) I get the following error: Firefox is already running, but is not responding. Te old Firefox process must be closed to open a new window. Are there any tricks to fix this (Firefox command line options or Windows registry "hacks")? Thanks in advance for your responses!

由AltairAC于修改

被采纳的解决方案

Note that you can't open links in a Firefox instance that is started via -no-remote. You can drag the file in a Firefox tab or to the new tab plus button or don't use the -no-remote command line switch for you default profile, use it only to open additional profiles.

定位到答案原位置 👍 0

所有回复 (3)

more options

I don't know if this will help. This is the batch file I use; (one line) C:\PROGRA~1\MOZILL~1\firefox.exe -no-remote -new-instance -new-window -P Firefox_v_57

more options

This is a confusing area. I have two versions of Firefox set up to run in two separate profiles:

Firefox 57 => Quantum profile (run using -no-remote)

Firefox 52 ESR => Legacy profile (run using -no-remote)

Firefox 57 is my primary browser and is usually already open when I click a link in another application.

Over the years, I've created many profiles for testing various add-ons, and my current default profile is one of those test profiles. When I click a link, or launch a local file, it opens as a new tab in my Firefox 57 session. I think this works because Firefox isn't try to open a new Firefox session in a profile I'm already using. Instead, it detects that Firefox is already running and simply re-uses it.


If you want to try that by setting a different default profile:

Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it.

If you already have an extra profile: scroll down to it and click the Set as default profile button below that profile. You're done.

If you do not have an extra profile: click the Create a New Profile button, then click Next. Assign a name like Dec2017, ignore the option to relocate the profile folder, and click the Finish button. After creating the profile, scroll down to it and click the Set as default profile button below that profile. You're done.

more options

选择的解决方案

Note that you can't open links in a Firefox instance that is started via -no-remote. You can drag the file in a Firefox tab or to the new tab plus button or don't use the -no-remote command line switch for you default profile, use it only to open additional profiles.