--new-tab on linux command line opens new window even when an instance is already running 最近的回答https://support.mozilla.org/zh-CN/questions/12998332020-08-18T07:04:09-07:00Using -new-tab without a URL following isn't documented currently. Not sure whether it used to be do2020-08-18T07:04:09-07:00jscher2000https://support.mozilla.org/zh-CN/questions/1299833#answer-1342137<p>Using -new-tab <em>without</em> a URL following isn't documented currently. Not sure whether it used to be documented:
</p><p><a href="https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Browser" rel="nofollow">https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Browser</a>
</p><p>You could add a URL to your shortcut (e.g., "about:blank").
</p><p>Or file a bug if you don't need it for a while: <a href="https://bugzilla.mozilla.org/" rel="nofollow">https://bugzilla.mozilla.org/</a>
</p>Thanks for the update, Chinmay.
@jscher2000, I just checked: the windows have the same profile direc2020-08-18T02:05:26-07:00gregory.meyerhttps://support.mozilla.org/zh-CN/questions/1299833#answer-1342043<p>Thanks for the update, Chinmay.
</p><p>@jscher2000, I just checked: the windows have the same profile directory and also the same application binary. FWIW also, if I just keep running the command, it is always opening a new window, even with the one it just opened still there.
</p>Oh no actually without specifying the website, it opens a new window for me too.
The profile folders2020-08-17T16:57:04-07:00chinmay.dalal.22012001https://support.mozilla.org/zh-CN/questions/1299833#answer-1341983<p>Oh no actually without specifying the website, it opens a new window for me too.
The profile folders and the application binaries are the same in both the windows
</p><p><br>
ie `firefox <a href="https://duckduckgo.com" rel="nofollow">https://duckduckgo.com</a> --new-tab` opens a new tab in the already running window.
`firefox --new-tab` opens a new window
</p>Hi DenverCoder9, does it seem to be a new instance of the identical Firefox, or are there difference2020-08-17T16:02:19-07:00jscher2000https://support.mozilla.org/zh-CN/questions/1299833#answer-1341981<p>Hi DenverCoder9, does it seem to be a new instance of the identical Firefox, or are there differences? I'm asking because this can happen when your first instance of Firefox is not running what is recorded in various config files as your default Firefox profile.
</p><p>To see which profile each window is using, you can check the Troubleshooting Information page. Either:
</p>
<ul><li> "3-bar" menu button &gt; "?" Help &gt; Troubleshooting Information
</li><li> (menu bar) Help &gt; Troubleshooting Information
</li><li> type or paste <strong>about:support</strong> in the address bar and press Enter/Return
</li></ul>
<p>In the first table on the page, find the <strong>Profile Folder</strong> row and check the last part of the path. Same profile? Different?
</p><p>You might also check the <strong>Application Binary</strong> to see whether you have two Firefox installs.
</p><p>Depending on what you find, we'll have different recommendations.
</p>~~It works properly for me~~
~~firefox 79.0~~
~~archlinux~~
~~proof: https://imgur.com/iJRU5gU~~
2020-08-17T14:45:44-07:00chinmay.dalal.22012001https://support.mozilla.org/zh-CN/questions/1299833#answer-1341972<p>~~It works properly for me~~
~~firefox 79.0~~
~~archlinux~~
</p><p>~~proof: <a href="https://imgur.com/iJRU5gU~~" rel="nofollow">https://imgur.com/iJRU5gU~~</a>
</p>