Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Open links in private window

  • 2 odpovede
  • 0 má tento problém
  • 41 zobrazení
  • Posledná odpoveď od 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?

Vybrané riešenie

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.

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (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

Vybrané riešenie

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.