Strips fbclid/gclid/utm_*/msclkid/ttclid and other known ad-tracking query params from the URL bar via history.replaceState -- no reload, no network requests. Handles SPA navigation too (pushState/replaceState wrapping, popstate/hashchange), since client-side routers often re-add tracking params on route changes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# Userscripts
|
|
|
|
Browser userscripts (Tampermonkey / Violentmonkey / Greasemonkey
|
|
compatible). One directory per script. Every script here is local-only
|
|
by policy — no telemetry, no third-party network calls, no AI hand-off —
|
|
unless a script's own README explicitly says otherwise.
|
|
|
|
## Scripts
|
|
|
|
- [**UI Token Extractor**](ui-token-extractor/) — extracts colors,
|
|
typography, spacing, effects, and component styles from the current
|
|
page's live DOM and shows them on-screen as selectable text. Inspired
|
|
by [uidrop.site](https://uidrop.site)'s extraction categories, without
|
|
its AI hand-off — nothing is ever sent anywhere.
|
|
- [**Clean URL Tracking Params**](clean-url-tracking/) — strips known
|
|
ad/tracking query parameters (`fbclid`, `gclid`, `utm_*`, `msclkid`,
|
|
`ttclid`, and more) from the URL bar on load and on SPA navigation,
|
|
via `history.replaceState` — no reload, no network requests.
|
|
|
|
## Installing a script
|
|
|
|
1. Install [Tampermonkey](https://www.tampermonkey.net/) (Chrome/Edge/
|
|
Firefox/Safari) or [Violentmonkey](https://violentmonkey.github.io/).
|
|
2. Open the script's `.user.js` file's raw content and the extension
|
|
will offer to install it, or use the extension's "Create new script"
|
|
/ import-from-file option and paste the contents.
|