Menu

Local URL Redirects, Query Stripping, and Script Blocking with Zero Telemetry in Chrome MV3
📰

Local URL Redirects, Query Stripping, and Script Blocking with Zero Telemetry in Chrome MV3

#devcommunity#dev#cleanroute#rules#script
Long article (334 words) — no AI summary yet.
Reading 0:00
15s threshold

Most developers end up needing the same three browser network tweaks over and over:

Point a production endpoint or script URL to a local dev server.

Strip tracking parameters like utm_source , utm_medium , or fbclid from URLs.

Block an analytics script or noisy third-party domain while testing page behavior.

Spinning up an external proxy takes too much ceremony, and many existing extensions bundle analytics, require accounts, or charge recurring subscriptions.

I built CleanRoute to handle all three cleanly inside Chrome's native Manifest V3 rule engine.

How CleanRoute Works

CleanRoute packs three controls into one minimal popup:

URL / Host Prefix Redirects: Uses declarativeNetRequest regexFilter and regexSubstitution to route requests locally (e.g., staging/prod URLs to localhost ).

Query Parameter Stripping: Removes unwanted query parameters globally or per domain via queryTransform.removeParams .

Script & Domain Blocking: Blocks matching domains or script URL patterns across all resource types or…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.