A Chrome extension for HTTP/HTTPS/SOCKS5 proxy management. Supports multiple proxy configurations, rule-based routing, PAC scripts, and proxy authentication.
- Multiple Proxy Modes — Direct, Global Proxy, Rule-based Routing, PAC Script
- Multi-Proxy Management — Add, edit, delete multiple proxy servers with quick switching
- Proxy Authentication — Automatically handles username/password authentication
- Rule-based Routing — Route traffic by domain, URL pattern, or IP range (CIDR)
- Blacklist mode: matched traffic goes through proxy, rest direct
- Whitelist mode: matched traffic goes direct, rest through proxy
- PAC Script Support — Online PAC URL or custom PAC script editor
- Import/Export — Backup and restore all configurations as JSON
- Protocol Support — HTTP, HTTPS, SOCKS5
- Clone this repository:
git clone https://github.com/heightnabdav-commits/Proxy-Manager.git
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer mode (toggle in the top right)
- Click Load unpacked
- Select the cloned repository folder
- Click the extension icon in the toolbar
- Add a proxy server (name, protocol, host, port)
- Select a proxy mode:
- 🔗 Direct — No proxy, connect directly
- 🌐 Global — All traffic through the selected proxy
- 📋 Rules — Route traffic based on configured rules
- 📜 PAC — Use a PAC script for routing decisions
The extension icon shows a badge letter indicating the current mode:
- No badge = Direct
- G = Global proxy
- R = Rule-based routing
- P = PAC script mode
Click "高级设置" (Advanced Settings) in the popup to access:
- Full proxy management (edit, delete, bypass lists)
- Rule configuration (domain, URL, CIDR matching)
- PAC script editor
- Configuration import/export
├── manifest.json # Extension manifest (Manifest V3)
├── background.js # Service Worker (proxy logic + auth)
├── lib/
│ └── pac-generator.js # PAC script generator
├── popup/
│ ├── popup.html # Popup UI
│ ├── popup.css # Popup styles
│ └── popup.js # Popup logic
├── options/
│ ├── options.html # Options page
│ ├── options.css # Options styles
│ └── options.js # Options logic
└── icons/
├── icon16.png
├── icon48.png
└── icon128.png
proxy— Configure Chrome proxy settingsstorage— Persist proxy configurationswebRequest— Intercept requests for authenticationwebRequestAuthProvider— Provide proxy credentials automatically
MIT