HTTP redirect and script injection rules for local testing
Users
14
+4 in 30 days
Rating
0.0 / 5
unchanged in 30 days
Ratings
0
0 in 30 days
Store rank
#172K
#144K among extensions
Version
0.1.2
updated 23 Apr 2026
Users
monthly, 6 months
Latest, 17 Oct 2026:14 usersMove the mouse over the chart for any month
Ratings count
monthly, 6 months
Latest, 17 Oct 2026:0 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About Detour
Detour is a Chromium extension for redirecting HTTP requests and injecting scripts during local development. Point an API at localhost, try a script on a live page, or strip a response header — without changing production.
REDIRECT RULES
• Send any URL to localhost, a staging host, or a mock endpoint
• Use * in the pattern to capture path segments, then substitute them into the destination URL as $1, $2, and so on
• Filter by HTTP method (GET, POST, …) when you need tighter control
• Block telemetry or third-party scripts by rerouting them to an empty response
SCRIPT INJECTION
• Load external JavaScript into any page before the page's own code runs
• Works on strict Content Security Policy (CSP) sites where inline scripts normally can't load — the extension injects with its own privileges, so CSP doesn't apply
• Useful for dev overlays, tracing, or experimental bundles without rebuilding the host app
ONE-CLICK HEADER OVERRIDES
• Allow CORS
• Disable Content Security Policy
• Disable X-Frame-Options
WORKFLOW DETAILS
• Per-tab badge showing how many rules fired on the current page
• One pattern language — just * for wildcards, $1 for captures. No "contains" or "equals" modes to learn.
• Import and export rules as JSON. A public schema lets VS Code autocomplete the file.
PRIVACY
Everything runs in your browser. No account, no telemetry, no remote configuration. Rules stay on your machine until you export them.