Skip to content

Comments

feat(utmstrip): refactor UtmStrip, add features & cleanup cspell#391

Merged
mobilemind merged 8 commits intomainfrom
feat/utm-script-refactor
Feb 2, 2026
Merged

feat(utmstrip): refactor UtmStrip, add features & cleanup cspell#391
mobilemind merged 8 commits intomainfrom
feat/utm-script-refactor

Conversation

@mobilemind
Copy link
Owner

@mobilemind mobilemind commented Feb 2, 2026

feat(utmstrip): refactor; add more keys to remove including host-specific keys

  • Refactored utmstrip.ts to use static arrays of parameters instead of complex regex
  • Switched to URLSearchParams API for cleaner parameter handling
  • Organized parameters by host (Amazon, AliExpress, eBay, LinkedIn, Target, Temu, TikTok, Twitter/X, Walmart, YouTube)
  • Added 26 new universal exact-match static keys, +4 new universal prefixes
  • Added 57 new host-specific keys/prefixes (across 7 new hosts)
  • New removal of tracking and "clutter" keys from Google Search URLs
  • Functional Google Search params remain ( q, hl, safe, tbs, tbm, pagination))
  • Integrated tests for new keys and host-specific keys/prefixes
  • Net increase of 522 bytes to dist/utmstrip.bookmarklet (efficient changes)

chore(cspell): cleanup dictionary & use inline comments

  • focus dictionary on proper names & tools
  • use inline comments for keys in TypeScript & JavaScript files

@mobilemind mobilemind self-assigned this Feb 2, 2026
@mobilemind mobilemind changed the title feat(utmstrip): refactor UtmStrip, add features & cleanup spell feat(utmstrip): refactor UtmStrip, add features & cleanup cspell Feb 2, 2026
@mobilemind mobilemind merged commit 9da6f8e into main Feb 2, 2026
14 checks passed
@mobilemind mobilemind deleted the feat/utm-script-refactor branch February 2, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant