All Projects

CleanLinks

A browser extension for Safari and Chrome that strips tracking parameters from URLs and cleans up links before you share them.

App Safari Chrome
#javascript#browser-extension#privacy

CleanLinks is a lightweight browser extension that automatically removes tracking parameters from URLs. Copy a clean link every time you share.

Why This Exists

Modern URLs are polluted with tracking parameters — utm_source, fbclid, gclid, and dozens more. When you share a link, you’re often unknowingly sharing tracking data along with it.

CleanLinks fixes this silently in the background.

How It Works

  • Automatic cleaning — strips known tracking parameters on page load
  • Copy clean — right-click any link to copy a cleaned version
  • Allowlist — whitelist domains where you want to preserve parameters
  • Zero data collection — everything runs locally, no analytics, no telemetry

Cross-Browser

The extension is built with the WebExtension API, making it compatible with both Safari and Chrome. The Safari version is wrapped in a native Swift container for App Store distribution.

{
  "manifest_version": 3,
  "name": "CleanLinks",
  "permissions": ["activeTab", "contextMenus"],
  "content_scripts": [{
    "matches": ["<all_urls>"],
    "js": ["cleaner.js"]
  }]
}

The core cleaning logic is shared across both browsers — a single TypeScript module that compiles to the appropriate target.