Skip to content

A Chrome extension for managing proxy settings and switching between multiple scenarios with domain-based rules.

Notifications You must be signed in to change notification settings

dean2021/SwitchProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwitchProxy

A Chrome extension for managing proxy settings and switching between multiple scenarios with domain-based rules.

Features

  • Quick Proxy Switching: Toggle proxy on/off with a single click
  • Scenario Management: Create and manage multiple proxy configurations
  • Domain Rules: Set specific domains to bypass proxy or use proxy
  • Persistent Storage: Your configurations are saved automatically

Usage

  1. Click the extension icon in the browser toolbar
  2. Select a scenario from the dropdown or click "Manage" to open the management page
  3. In the management page, you can:
    • Create new scenarios
    • Configure proxy server address and port
    • Add domain rules (direct or proxy)
    • Save or delete configurations

Creating a Scenario

  1. Click "New Scenario" in the sidebar
  2. Enter a name for the scenario
  3. Configure proxy settings:
    • Proxy Host: Server address (e.g., 127.0.0.1)
    • Proxy Port: Server port (e.g., 7890)
  4. Add domain rules:
    • Pattern: Domain pattern (e.g., *.google.com)
    • Action: Choose direct (bypass proxy) or proxy (use proxy)
  5. Click "Save" to apply

Domain Pattern Examples

Pattern Matches
*.google.com All subdomains of google.com
example.com Exactly example.com
192.168.* IP addresses starting with 192.168.

Permissions

  • proxy: Manage browser proxy settings
  • storage: Save configurations locally
  • tabs: Open management page in new tabs

Installation

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable "Developer mode" in the top right
  3. Click "Load unpacked" and select this directory
  4. The extension is now installed

License

MIT

About

A Chrome extension for managing proxy settings and switching between multiple scenarios with domain-based rules.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published