this post was submitted on 11 Oct 2024
1 points (100.0% liked)

Privacy

1 readers
3 users here now

Everything about privacy (the confidentiality pillar of security) -- but not restricted to infosec. Offline privacy is also relevant here.

founded 1 year ago
MODERATORS
 

Tip of the day: Make #iTerm2 open links in incognito browser window by default:

  1. Edit your iTerm2 profile Smart Selection: iTerm2 > Settings... > Profiles > [yourprofle] > Advanced > Smart Selection > Edit

  2. Locate "HTTP URL" entry, select it and click "Edit Actions..."

  3. Enter title "Open in Incognito", select action "Run Command..." and use the following command: open -na "Brave Browser" --args -incognito \0

  4. Select Ok, Select Close

The above works with Chrome compatible browsers, too, replace "Brave Browser" with the name of the browser (for example "Google Chrome" to open the links with it). For Firefox (and compatibles) you can use: open -na "Firefox" --args -private-window \0

Similar thing is also possible for Safari but I believe it requires use of AppleScript and is thus beyond the scope of this toot.

#tipoftheday #privacy #macos

Screenshot showing how to add "Open in Incognito" smart selection rule for "HTTP URL".

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 months ago

You can also add other entries. I've added another entry with:

"Open URL in default browser" "Run Command..." "open \0"

Selecting this entry from the context menu will open the link using the default protocol handler.