Switchy Proxy
Overview
a tool for managing url proxy in browsers easily
Switchy Proxy is a Chrome extension for developers to manage and debug URL proxy rules efficiently. Key features include: • URL Redirection: Regex-based rules for environment switching and resource replacement. • CORS Management: Enable CORS for specific domains to resolve cross-origin issues. • Error Monitoring: Logs failed requests with detailed reasons (e.g., CSP violations, network errors). • Rule Import/Export: JSON-based rule sharing and backup. • Dynamic Rules: Powered by Chrome's Declarative Net Request API for efficient rule handling. Ideal for debugging and managing network requests with ease. Rules JSON file example: { "proxy": [ [ "https://api.example.com/v1/(.*)", "http://localhost:3000/api/v1/$1" ], [ "https://cdn.example.com/static/(.*)", "http://localhost:8080/static/$1" ], [ "https://(dev|staging).example.com/assets/(.*)", "http://localhost:5000/assets/$2" ], [ "https://analytics.example.com/collect", "http://localhost:9090/mock-analytics" ], [ "(.*).min.js$", "$1.js" ], [ "(.*).min.css$", "$1.css" ], [ "https://auth.example.com/oauth/(.*)", "http://localhost:4000/mock-auth/$1" ], [ "wss://socket.example.com/live/(.*)", "ws://localhost:8765/socket/$1" ], [ "https://media.example.com/images/(.*)", "http://localhost:3000/mock-images/$1" ], [ "https://api.thirdparty.com/data/(.*)", "data:application/json,{\"mocked\":true,\"id\":\"$1\"}" ], [ "https://example.com/health-check", "data:application/json,{\"status\":\"UP\",\"version\":\"1.0.0\"}" ], [ "https://fonts.googleapis.com/(.*)", "http://localhost:9001/fonts/$1" ], [ "https://maps.example.com/tiles/(.*)", "http://localhost:8888/map-tiles/$1" ], [ "(.*)/config.json", "http://localhost:3000/dev-config.json" ], [ "https://api.example.com/graphql", "http://localhost:4000/graphql" ] ], "cors": [ "localhost:3000", "localhost:8080", "127.0.0.1:8000", "(.*).local.dev", "api.mock-server.local" ], "comments": { "proxy": { "0": "Redirect API calls to local dev server", "1": "Redirect CDN content to local static files", "2": "Redirect dev/staging assets to local version", "3": "Mock analytics calls", "4": "Use non-minified JS for debugging", "5": "Use non-minified CSS for debugging", "6": "Mock authentication service", "7": "Redirect WebSocket connections to local server", "8": "Use local images instead of remote media", "9": "Mock third-party API with inline JSON", "10": "Mock health check endpoint", "11": "Serve Google Fonts locally", "12": "Use local map tiles", "13": "Override configuration files", "14": "Redirect GraphQL API to local development server" }, "cors": "Enable CORS for all local development servers" }, "corsEnabled": true } ## Changelog ### v1.0.0 - Initial release - Chrome Manifest V3 support - declarativeNetRequest implementation - XSwitch-compatible JSON format - CORS header injection - Popup and options interfaces ### v1.0.3 - Bug fixes and improvements - Add example rules as default
0 out of 5No ratings
Details
- Version1.0.3
- UpdatedJuly 31, 2025
- Offered byzudoor
- Size437KiB
- LanguagesEnglish
- Developer
Email
zudoor@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, please open this page on your desktop browser