8000 feat(privacy): remove link trackers and turn off dns prefetching by hanthor · Pull Request #599 · hyprlab/hylki · GitHub
[go: up one dir, main page]

Skip to content

feat(privacy): remove link trackers and turn off dns prefetching - #599

Open
hanthor wants to merge 2 commits into
hyprlab:mainfrom
tuna-os:feat/link-trackers
Open

hanthor wants to merge 2 commits into
hyprlab:mainfrom
tuna-os:feat/link-trackers

Conversation

@hanthor
@hanthor hanthor commented Nov 5, 2026
Copy link
Copy Markdown
Contributor
  • Link trackers. A new pure function, mail::link_clean, strips about 35 tracking parameters (utm_*, fbclid, gclid, mc_eid, HubSpot's, ...) and unwraps Outlook Safe Links, Google /url, Facebook l.php and YouTube /redirect when the target is inside the URL, up to four levels, with no network request. Everything else in the URL is left byte for byte. It applies to clicked links and to Open Link, behind a new privacy setting, Remove trackers from links, on by default.
  • DNS prefetch. The reader, composer and preview WebViews now explicitly turn DNS prefetching and developer extras off. WebKitGTK 2.54 already defaults it off and deprecates the getter, so this is defensive.

Tests: a 21-case table for link cleaning; the privacy golden; a display test (ignored without one) for the WebView settings.

A link opened from a message loses utm_ tags, fbclid, gclid, mc_eid and similar, and Outlook Safe Links, Google, Facebook and YouTube redirects are unwrapped when the target is in the link, with no lookup. Settings, Privacy, Remove trackers from links turns it off. Reader, composer and preview views set DNS prefetching off explicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0