Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Open links in private window

  • 2 àwọn èsì
  • 0 ní àwọn ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ 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?

Ọ̀nà àbáyọ tí a yàn

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.

Ka ìdáhùn ni ìṣètò kíkà 👍 0

All Replies (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

Ọ̀nà àbáyọ Tí a Yàn

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.