搜尋 Mozilla 技術支援網站

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

了解更多

--remote switch doesn't work properly?

more options

Hi,

I have such lines: /Applications/Firefox.app/Contents/MacOS/firefox http://www.google.com/ & /Applications/Firefox.app/Contents/MacOS/firefox --remote "openURL(http://www.google.de/, new-tab)" &

The second line raises me message "Firefox is already running" - why?

Hi, I have such lines: /Applications/Firefox.app/Contents/MacOS/firefox http://www.google.com/ & /Applications/Firefox.app/Contents/MacOS/firefox --remote "openURL(http://www.google.de/, new-tab)" & The second line raises me message "Firefox is already running" - why?

所有回覆 (3)

more options

When I check the Command Line Options article, it indicates that the "-remote" switch was removed several versions ago. Is "--remote" a system-level switch?

https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Remote_Control

more options

I didn't saw that. So how can I open now from console 3 separate windows with URLs?

more options

When you say separate, do you mean 3 individual windows running in one instance of the Firefox application, or 3 instances of the Firefox application?

You can set Firefox to create separate windows for ALL externally launched URLs instead of adding them to an existing window. Maybe that would work?

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste link.o and pause while the list is filtered

(3) Double-click the browser.link.open_newwindow.override.external preference and enter the desired value:

-1 = follow browser.link.open_newwindow (default) 3 = open external links in a new tab in the last active window 2 = open external links in a new window 1 = open external links in the last active tab replacing the current page

Then you only need the -url "http://dilbert.com/" part.