搜索 | 用户支持

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

Learn More

--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.