Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

On Mac OS X, how can I create a new Firefox window in a specific profile from command line?

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi lhquam

more options

I have tried

   /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote &

and

  /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote -new-window <URL> &

but I always get the error: "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

I have tried /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote & and /Applications/Firefox.app/Contents/MacOS/firefox-bin -P <profile> -no-remote -new-window <URL> & but I always get the error: "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

Tất cả các câu trả lời (2)

more options

That is not possible. You can't open a new tab or new window in a specific instance (profile) via the command line. You can only open a new window with a separate profile via the -no-remote command line switch.

more options

I found this possible answer using AppleScript. Is it viable?

http://superuser.com/questions/396434/how-to-open-a-new-firefox-window-with-terminal