Skip to content

feat: Always open links in incognito toggle - #804

Open
freenutsxd wants to merge 4 commits into
Fchat-Horizon:developmentfrom
freenutsxd:feature/incognitotoggle
Open

feat: Always open links in incognito toggle#804
freenutsxd wants to merge 4 commits into
Fchat-Horizon:developmentfrom
freenutsxd:feature/incognitotoggle

Conversation

@freenutsxd

@freenutsxd freenutsxd commented May 30, 2026

Copy link
Copy Markdown
Collaborator

Adds a toggle underneath the Browser Path settings to always open links in incognito/private by default when left-clicking them. When enabled, users can still right click any link and select "Open in browser" to open it in a non-incognito tab. The setting is hidden for Mac users since we don't have a good way of opening in incognito on that platform.

Similarly, any profiles opened in browser via the button in the profile viewer, and any gallery images opened in browser in the same way, will also default to an incognito tab.

Closes #525

@github-actions

github-actions Bot commented May 30, 2026

Copy link
Copy Markdown
Contributor

Artifacts

View all

x64 arm64
linux Download Download
macos Download Download
windows Download Download

@freenutsxd freenutsxd added do not merge Drafts, experimental PRs, or just things that require discussion beforehand for next release labels May 30, 2026
@FatCatClient FatCatClient added this to the 2.3.0 (presumably) milestone May 30, 2026
@freenutsxd freenutsxd added the feature Requested feature label Jun 2, 2026
@FatCatClient FatCatClient removed do not merge Drafts, experimental PRs, or just things that require discussion beforehand for next release labels Jun 5, 2026
@FatCatClient FatCatClient added Needs testing For (new) Pull Requests that have yet to be manually tested by a maintainer Needs code review For (new) Pull Requests that still need a code review by a maintainer. labels Jun 12, 2026
@FatCatClient FatCatClient self-assigned this Jun 12, 2026
@CodingWithAnxiety CodingWithAnxiety moved this to To verify in Horizon Releases Jun 15, 2026
@FatCatClient FatCatClient moved this from Ready to Ship to Follow Up Before Release in Horizon Releases Jun 16, 2026
@FatCatClient FatCatClient modified the milestones: 2.3.0, 2.4.0 Jun 18, 2026
@FatCatClient FatCatClient removed their assignment Jul 9, 2026
@FatCatClient

FatCatClient commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@freenutsxd Could you resolve the merge conflicts before I can test it? If this won't get merged soon-ish, it'll likely have to be after ##904 is done, which would make it even more work for you to get it mergeable.

@FatCatClient

Copy link
Copy Markdown
Contributor

I thought this through for a second, and realized that I'd still rather have this implemented in a way that also refactors the handlers for opening stuff in incognito mode into being called from the main process-- even though I said I'd be fine with doing that refactor later.

Not really sure what reason we'd have for putting it off, since it's mostly a cut and paste job anyway. Other than the fact that it'd clutter up electron/main.ts even more if none of it is split into its own file.

@freenutsxd

Copy link
Copy Markdown
Collaborator Author

Thankfully it was easier than I thought. Opening in incognito has been refactored to be part of main.ts, now every instance where a URL would be opened will respect the 'Always open in incognito' toggle. The only exception to this is manually right clicking and selecting 'Open in browser' on links, since I think that's still nice to have just in case. Tested on Windows and my Linux VM, it seems to Just Work™️.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Requested feature Needs code review For (new) Pull Requests that still need a code review by a maintainer. Needs testing For (new) Pull Requests that have yet to be manually tested by a maintainer

Projects

Status: Follow Up Before Release

Development

Successfully merging this pull request may close these issues.

Feature Request: Open as incognito setting

3 participants