firefox - 如何运行两个独立的 Firefox 实例?

标签 firefox ubuntu

出于测试目的,我想在 ubuntu 上安装两个不同的 firefox 实例 - 这样它们就不会共享 cookie。 (我想以不同的用户身份同时登录我们网站的两个实例)。 我怎么做? 我使用 Firefox 和 Opera,但我更喜欢 Firefox(因为有 Firebug )。

最佳答案

还有一种可能。您可以像这样执行 firefox 命令:

firefox -P "profile-name" -no-remote

选项 -no-remote 禁用新实例的远程控制(即使用 firefox 命令进行控制),逻辑上它也暗示选项 -new -instance,这是运行新的独立实例所必需的。也可以仅使用选项 -new-instance:

firefox -P "profile-name" -new-instance

创建新配置文件

firefox -ProfileManager -new-instance

该命令将打开一个交互式窗口,您可以在其中管理现有配置文件和创建新配置文件。您还可以使用选定的配置文件启动一个新的 Firefox 实例。请注意选项“在启动时不询问就使用选定的配置文件”,该选项默认处于选中状态,这将使选定的配置文件成为启动 firefox 时使用的默认配置文件> 没有 -P

帮助

摘自 firefox -help:

  -P <profile>       Start with <profile>.
  -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.

关于firefox - 如何运行两个独立的 Firefox 实例?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/613917/

相关文章:

html - Firefox 中不显示 "ff"中的字母 "staff"

linux - 如何解决 undefined reference to `iargc_' 错误?

linux - 我可以在不重新登录的情况下应用 gsettings 吗?

json - 服务器返回 text/html header 而不是 application/json header

JavaScript:在链接上拖动鼠标

jquery - Firefox:Bootstrap 的 JavaScript 需要 jQuery

html - Firefox 中的 ContentEditable 创建 2 个换行符而不是 1 个

html - Firefox 89 看不到 userChrome.css 甚至设置 toolkit.legacyUserProfileCustomizations.stylesheets=true

c - 64 位系统上的 32 位兼容库

ubuntu - 无法手动将新包添加到 Sublime Text 3