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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Open links in private window

  • 2 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 user419

more options

I am running Firefox on my Arch Linux.

Is there a way to modify the default behavior so that links open automatically in a private window instead of a regular one?

I am running Firefox on my Arch Linux. Is there a way to modify the default behavior so that links open automatically in a private window instead of a regular one?

被采纳的解决方案

I couldn't quite figure that out so instead I used a slightly different method.

To ~/.local/bin I added firefox_open_private.sh

In the file, I added ```#!/bin/bash firefox --private-window "$1"```

I then ran chmod +x ~/.local/bin/firefox_open_private.sh

I set firefox_open_private.sh as my default web browser and now all links open in private tabs.

定位到答案原位置 👍 0

所有回复 (2)

more options

Edit the .desktop file for the default browser and add the --private-window argument.

xdg-settings get default-web-browser
more options

选择的解决方案

I couldn't quite figure that out so instead I used a slightly different method.

To ~/.local/bin I added firefox_open_private.sh

In the file, I added ```#!/bin/bash firefox --private-window "$1"```

I then ran chmod +x ~/.local/bin/firefox_open_private.sh

I set firefox_open_private.sh as my default web browser and now all links open in private tabs.