Chinese | English
This is a lightweight proxy extension for Chrome browser that automatically switches proxy settings based on predefined domain lists. The extension supports independent proxy configuration without affecting the system's global proxy settings.
- Supports HTTP/HTTPS/SOCKS5 proxy protocols
- Smart proxy routing based on domains
- Built-in extensive preset proxy rules
- Custom proxy domain addition/exclusion
- Regular expression domain matching
- Real-time proxy status display
- Proxy rule search and view functionality
- Clean user interface
- Clone or download this project
- Run
npm installto install dependencies - Open Chrome browser and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the project directory
- Click the extension icon in the browser toolbar
- Configure proxy server information in the popup window:
- Proxy type (HTTP/HTTPS/SOCKS5)
- Server address
- Port number
- View and search the built-in proxy rules list
- Add custom proxy domain rules in the text box:
- Add proxy domain:
domain.comor*.domain.com - Exclude domain:
!domain.comor!*.domain.com
- Add proxy domain:
- Click "Save" to apply settings
- When proxy is enabled, the extension will display current proxy status at the top of the page
Proxy status indicator at the top of the page
manifest.json: Extension configuration filepopup.html/js: Popup window interfacebackground.js: Background proxy control logiccontent.js: Page proxy status displayproxy-list.txt: Preset proxy rules listpackage.json: Project dependencies configuration
Q: Why isn't the proxy working after configuration? A: Please check:
- If proxy server address and port are correct
- If the extension is enabled
- If the accessed domain is in the proxy rules list
Q: How to add custom proxy rules? A: Add domains in the extension settings text box, supporting these formats:
domain.com: Exact domain match*.domain.com: Subdomain match!domain.com: Domain exclusionregexp:pattern: Regular expression match
MIT License
