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

How to create a Windows 10 desktop shortcut which starts a new instance of Firefox with a specific URL

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

more options

Preamble: for most of the day I have Firefox open with several tabs. For a specific project I want Firefox open with one tab showing a specific webpage. At the same time I don't want to delete the existing tabs in the existing instance of Firefox - I want to keep them running in the background. Question: how do I create a desktop shortcut which opens a new single instance of Firefox with a single tab showing a specific URL ?

Preamble: for most of the day I have Firefox open with several tabs. For a specific project I want Firefox open with one tab showing a specific webpage. At the same time I don't want to delete the existing tabs in the existing instance of Firefox - I want to keep them running in the background. Question: how do I create a desktop shortcut which opens a new single instance of Firefox with a single tab showing a specific URL ?

Giải pháp được chọn

No, this could still happen, so this is essential to know:

If you accidentally close a window and realize it wasn't the one you wanted to close, or if you restore a session and a windows is missing, immediately try:

  • Ctrl+Shift+N
  • menu button > History > Recently Closed Windows
  • (menu bar) History > Recently Closed Windows

To shut down Firefox without accidentally setting any windows to a closed status, close Firefox this way:

  • menu button > Exit
  • (menu bar) File > Exit
Đọc câu trả lời này trong ngữ cảnh 👍 0

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

more options

When you say a new instance, do you mean a completely separate session of Firefox which doesn't share any history with the live one, or a separate new window instead of a new tab? I'll give the steps for the simpler one:

New Window

When you right-click a shortcut and click Properties, Firefox should open the Shortcut tab and highlight the Target. This will show you how Firefox is starting now. For example (assuming yours is installed in the same folder as mine):

"C:\Program Files\Mozilla Firefox\firefox.exe"

To add a specific web address to the target, it would look like this (make sure to keep the spaces before and after the -new-window command-line switch):

"C:\Program Files\Mozilla Firefox\firefox.exe" -new-window https://www.mozilla.org/

You can test your new target command line using the Windows 10 search box or the Run dialog (Windows key + R).

Once you know exactly what the shortcut command line needs to be, you can create a new shortcut by right-clicking a blank area of the desktop, New > Shortcut and follow the steps in the wizard.

Success?

Được chỉnh sửa bởi jscher2000 - Support Volunteer vào

more options

Many thanks for this rapid response.

Using your straighforward recipe I got a new stripped-down window with one tab containing the site I want. However, when I shut down the other Firefox window with its numerous tabs and then started it again it restarted with the stripped-down window with one tab, i.e. all the history was gone (which I didn't want).

Maybe I want your less-simple version. Is that what I called a "new instance" ?

Được chỉnh sửa bởi pacman101 vào

more options

Giải pháp được chọn

No, this could still happen, so this is essential to know:

If you accidentally close a window and realize it wasn't the one you wanted to close, or if you restore a session and a windows is missing, immediately try:

  • Ctrl+Shift+N
  • menu button > History > Recently Closed Windows
  • (menu bar) History > Recently Closed Windows

To shut down Firefox without accidentally setting any windows to a closed status, close Firefox this way:

  • menu button > Exit
  • (menu bar) File > Exit
more options

Got it. Worked perfectly (of course). Copy-pasted into my Firefox/IT Tips bag. This rapid help much appreciated.

P.S. Your last posting has been flagged as "Chosen Solution". This is a bit confusing for a later reader because both your postings led stepwise to the solution and so are "Chosen Solutions" which need to be read one after the other.

Được chỉnh sửa bởi pacman101 vào