為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Is there a way to specify version to use in command line?

  • 3 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 FredMcD

more options

I have a website that is most compatible with a specific version of Firefox and I want to always open it in it's own instance with that version but I want all other shortcuts to open in the newest version. I have tried -new-instance but if either of them is open before the other it automatically opens as the version that was already open.

Ex. 1

1. Use old version shortcut with -new-instance and it opens the old version

2. Use new version shortcut with -new-instance and it opens in a new instance with old version

Ex. 2

1. Use new version shortcut with -new-instance and it opens with new version

2. Use old version shortcut with -new-instance and it opens with new version

I have a website that is most compatible with a specific version of Firefox and I want to always open it in it's own instance with that version but I want all other shortcuts to open in the newest version. I have tried -new-instance but if either of them is open before the other it automatically opens as the version that was already open. Ex. 1 1. Use old version shortcut with -new-instance and it opens the old version 2. Use new version shortcut with -new-instance and it opens in a new instance with old version Ex. 2 1. Use new version shortcut with -new-instance and it opens with new version 2. Use old version shortcut with -new-instance and it opens with new version

由 Vrykodin 於 修改

所有回覆 (3)

more options

You can install as many versions of Firefox that you want. However;

Switch to manual and place each version in its own folder.

The Last Firefox you install will be labeled as the default program.

more options

FredMcD said

You can install as many versions of Firefox that you want. However; Switch to manual and place each version in its own folder. The Last Firefox you install will be labeled as the default program.

They are already installed in separate locations.

more options

This is the batch file I use (one line); C:\PROGRA~2\MOZILL~4\firefox.exe -P FirefoxESR -no-remote -new-instance -new-window http://comicskingdom.com/conceptis-kakuro/today

Usage: C:\PROGRA~1\MOZILL~1\firefox.exe [ options ... ] [URL]
      where options include:
 -h or -help        Print this message.
 -v or -version     Print Firefox version.
 -P <profile>       Start with <profile>.
 -migration         Start with migration wizard.
 -ProfileManager    Start with ProfileManager.
 -no-remote         Do not accept or send remote commands; implies -new-instance.
 -new-instance      Open new instance, not a new window in running instance.
 -UILocale <locale> Start with <locale> resources as UI Locale.
 -safe-mode         Disables extensions and themes for this session.
 -console           Start Firefox with a debugging console.
 -jsconsole         Open the Error console.
 -browser           Open a browser window.
 -new-window  <url> Open <url> in a new window.
 -new-tab     <url> Open <url> in a new tab.
 -preferences       Open Options dialog.
 -search     <term> Search <term> with your default search engine.
 -setDefaultBrowser Set this app as the default browser.