同一台PC上的多个Firefox版本

时间:2022-10-09 17:02:07

I develop various web apps, use CSS and JavaScript extensively, and need to be able to test them on both FF 3 as well as FF 3.5.

我开发各种Web应用程序,广泛使用CSS和JavaScript,并且需要能够在FF 3和FF 3.5上测试它们。

But, installing 3.5 overwrites 3.0, so I was wondering if its possible (and if so, how) to run both Firefox 3.0 and 3.5 on the same system, or am i stuck having to use 2 different systems?

但是,安装3.5覆盖3.0,所以我想知道是否可能(如果是这样,如何)在同一系统上运行Firefox 3.0和3.5,或者我不得不使用2个不同的系统?

I am using Windows XP.

我使用的是Windows XP。

Thanks

6 个解决方案

#1


Yes. Download and install them in seperate directories. Then, launch each one individually with the -p flag to set up different profiles for each version (or at least one for testing). Then, after you have two seperate profiles, create an icon for each on your desktop. Right click on the icon and select properties.

是。下载并安装在单独的目录中。然后,使用-p标志分别启动每个版本,为每个版本设置不同的配置文件(或至少一个用于测试)。然后,在您有两个单独的配置文件后,为桌面上的每个配置文件创建一个图标。右键单击图标,然后选择属性。

In the 'target' field, add the following flags.

在“目标”字段中,添加以下标志。

c:\Programs\Firefox 3.0\firefox.exe -p Profile1 -no-remote
c:\Programs\Firefox 3.5\firefox.exe -p Profile2

This is assuming you will be using Firefox 3.5 as your main browser and 3.0 for testing. If you want it the other way around switch the -no-remote tag. This allows you to run multiple versions of Firefox side by side. For more information refer to the Mozillazine page on command line arguments.

假设您将使用Firefox 3.5作为主浏览器,使用3.0进行测试。如果你想要它反过来切换-no-remote标签。这允许您并排运行多个版本的Firefox。有关更多信息,请参阅命令行参数上的Mozillazine页面。

#2


You could also try Utilu which automates this process, and also installs the Web developer toolbar and Firebug on each version. Very handy for a test machine.

您也可以尝试自动执行此过程的Utilu,并在每个版本上安装Web开发人员工具栏和Firebug。非常方便的测试机器。

#3


You can use the portable versions of firefox (3.5, older versions). You can install as many versions of firefox side-by-side as you want, but you can only run one version at any time.

您可以使用firefox的便携版本(3.5,旧版本)。你可以根据需要并排安装多个版本的firefox,但是你只能随时运行一个版本。

#4


Here's a simple three step process to achieve the same. For people that need a little bit more help getting this up and running with multiple Firefox versions, just check it out. It'll have nice pictures to guide you through the process.

这是一个简单的三步过程来实现相同的目标。对于那些需要更多帮助来启动和运行多个Firefox版本的人,请查看它。它将有很好的图片来指导您完成整个过程。

#5


I have answered this here.

我在这里回答了这个问题。

Use multiple versions of FirefoxPortable.

使用多个版本的FirefoxPortable。

Is there a way to force Firefox to launch in a new process?

有没有办法强制Firefox在新进程中启动?

#6


Since Firefox 57, legacy support is withdrawn and so many useful plugins and addons are let out in the newer versions (57 onwards). I have faced the problem of keeping multiple firefox say, Firefox 56 (legacy supported) and the default, current version, which will be updated regularly by Ubuntu (say) by default.

自Firefox 57以来,遗留支持被撤销,因此许多有用的插件和插件在新版本中发布(57起)。我遇到了保持多个firefox的问题,Firefox 56(支持遗留)和默认的当前版本,默认情况下会由Ubuntu(比如说)定期更新。

To do that, I follow the these steps:

为此,我按照以下步骤操作:

  1. Download Firefox 56: https://ftp.mozilla.org/pub/firefox/releases/56.0/. firefox-56.0.tar.bz2 will be downloaded.
  2. 下载Firefox 56:https://ftp.mozilla.org/pub/firefox/releases/56.0/。将下载firefox-56.0.tar.bz2。

  3. Extract the tar.bz2 source file in /opt/firefox56/ using:

    使用以下方法解压缩/ opt / firefox56 /中的tar.bz2源文件:

    tar xvjf firefox-56.0.tar.bz2
    
  4. Run the default firefox using the following command.

    使用以下命令运行默认的firefox。

    firefox -ProfileManager 
    

    Create a new profile, say firefox56, save its data in a folder other than the default.

    创建一个新的配置文件,比如firefox56,将其数据保存在默认文件夹以外的文件夹中。

  5. Create a soft link for firefox56

    为firefox56创建一个软链接

    sudo ln -s /opt/firefox56/firefox-bin /usr/bin/firefox56
    
  6. Start firefox56 with the newly created profile

    使用新创建的配置文件启动firefox56

    firefox56 -P firefox56
    
  7. Create .desktop file: firefox56.desktop in /usr/share/applications/firefox56.desktop

    创建.desktop文件:/usr/share/applications/firefox56.desktop中的firefox56.desktop

    [Desktop Entry]
    Version=56.0
    Name=Firefox 56
    Comment=Browse the World Wide Web
    GenericName=Web Browser
    Keywords=Internet;WWW;Browser;Web;Explorer
    Exec=firefox56 %u
    Terminal=false
    X-MultipleArgs=false
    Type=Application
    Icon=/opt/firefox56/browser/icons/mozicon128.png
    Categories=GNOME;GTK;Network;WebBrowser;
    MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
    StartupNotify=true
    Actions=new-window;new-private-window;
    
    [Desktop Action new-window]
    Name=Open a New Window
    Exec=firefox56 -P firefox56
    
    [Desktop Action new-private-window]
    Name=Open a New Private Window
    Exec=firefox56 -P firefox56 -private-window
    

Done! Find both of your installation in the menu.

完成!在菜单中找到您的两个安装。

#1


Yes. Download and install them in seperate directories. Then, launch each one individually with the -p flag to set up different profiles for each version (or at least one for testing). Then, after you have two seperate profiles, create an icon for each on your desktop. Right click on the icon and select properties.

是。下载并安装在单独的目录中。然后,使用-p标志分别启动每个版本,为每个版本设置不同的配置文件(或至少一个用于测试)。然后,在您有两个单独的配置文件后,为桌面上的每个配置文件创建一个图标。右键单击图标,然后选择属性。

In the 'target' field, add the following flags.

在“目标”字段中,添加以下标志。

c:\Programs\Firefox 3.0\firefox.exe -p Profile1 -no-remote
c:\Programs\Firefox 3.5\firefox.exe -p Profile2

This is assuming you will be using Firefox 3.5 as your main browser and 3.0 for testing. If you want it the other way around switch the -no-remote tag. This allows you to run multiple versions of Firefox side by side. For more information refer to the Mozillazine page on command line arguments.

假设您将使用Firefox 3.5作为主浏览器,使用3.0进行测试。如果你想要它反过来切换-no-remote标签。这允许您并排运行多个版本的Firefox。有关更多信息,请参阅命令行参数上的Mozillazine页面。

#2


You could also try Utilu which automates this process, and also installs the Web developer toolbar and Firebug on each version. Very handy for a test machine.

您也可以尝试自动执行此过程的Utilu,并在每个版本上安装Web开发人员工具栏和Firebug。非常方便的测试机器。

#3


You can use the portable versions of firefox (3.5, older versions). You can install as many versions of firefox side-by-side as you want, but you can only run one version at any time.

您可以使用firefox的便携版本(3.5,旧版本)。你可以根据需要并排安装多个版本的firefox,但是你只能随时运行一个版本。

#4


Here's a simple three step process to achieve the same. For people that need a little bit more help getting this up and running with multiple Firefox versions, just check it out. It'll have nice pictures to guide you through the process.

这是一个简单的三步过程来实现相同的目标。对于那些需要更多帮助来启动和运行多个Firefox版本的人,请查看它。它将有很好的图片来指导您完成整个过程。

#5


I have answered this here.

我在这里回答了这个问题。

Use multiple versions of FirefoxPortable.

使用多个版本的FirefoxPortable。

Is there a way to force Firefox to launch in a new process?

有没有办法强制Firefox在新进程中启动?

#6


Since Firefox 57, legacy support is withdrawn and so many useful plugins and addons are let out in the newer versions (57 onwards). I have faced the problem of keeping multiple firefox say, Firefox 56 (legacy supported) and the default, current version, which will be updated regularly by Ubuntu (say) by default.

自Firefox 57以来,遗留支持被撤销,因此许多有用的插件和插件在新版本中发布(57起)。我遇到了保持多个firefox的问题,Firefox 56(支持遗留)和默认的当前版本,默认情况下会由Ubuntu(比如说)定期更新。

To do that, I follow the these steps:

为此,我按照以下步骤操作:

  1. Download Firefox 56: https://ftp.mozilla.org/pub/firefox/releases/56.0/. firefox-56.0.tar.bz2 will be downloaded.
  2. 下载Firefox 56:https://ftp.mozilla.org/pub/firefox/releases/56.0/。将下载firefox-56.0.tar.bz2。

  3. Extract the tar.bz2 source file in /opt/firefox56/ using:

    使用以下方法解压缩/ opt / firefox56 /中的tar.bz2源文件:

    tar xvjf firefox-56.0.tar.bz2
    
  4. Run the default firefox using the following command.

    使用以下命令运行默认的firefox。

    firefox -ProfileManager 
    

    Create a new profile, say firefox56, save its data in a folder other than the default.

    创建一个新的配置文件,比如firefox56,将其数据保存在默认文件夹以外的文件夹中。

  5. Create a soft link for firefox56

    为firefox56创建一个软链接

    sudo ln -s /opt/firefox56/firefox-bin /usr/bin/firefox56
    
  6. Start firefox56 with the newly created profile

    使用新创建的配置文件启动firefox56

    firefox56 -P firefox56
    
  7. Create .desktop file: firefox56.desktop in /usr/share/applications/firefox56.desktop

    创建.desktop文件:/usr/share/applications/firefox56.desktop中的firefox56.desktop

    [Desktop Entry]
    Version=56.0
    Name=Firefox 56
    Comment=Browse the World Wide Web
    GenericName=Web Browser
    Keywords=Internet;WWW;Browser;Web;Explorer
    Exec=firefox56 %u
    Terminal=false
    X-MultipleArgs=false
    Type=Application
    Icon=/opt/firefox56/browser/icons/mozicon128.png
    Categories=GNOME;GTK;Network;WebBrowser;
    MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
    StartupNotify=true
    Actions=new-window;new-private-window;
    
    [Desktop Action new-window]
    Name=Open a New Window
    Exec=firefox56 -P firefox56
    
    [Desktop Action new-private-window]
    Name=Open a New Private Window
    Exec=firefox56 -P firefox56 -private-window
    

Done! Find both of your installation in the menu.

完成!在菜单中找到您的两个安装。