Files
proxy-switcher/README.md
2025-08-12 22:49:47 +08:00

24 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Proxy SwitcherChrome 扩展)
一键切换 Chrome 代理:直连 / System / HTTP / SOCKS5 / PAC支持弹窗选择与 PAC URL 保存。
## 使用方法
1. 打开 Chrome `chrome://extensions/`
2. 右上角打开“开发者模式”
3. 点击“加载已解压的扩展程序”,选择本目录 `2025-08-12_代理切换-浏览器扩展`
4. 点击工具栏图标,在弹窗中选择代理配置并点击“应用”
5. 选择 PAC 模式时,可在输入框中填写 PAC URL 后点击“保存”
6. 选择 自定义代理,可输入协议/地址/端口与绕过列表(逗号分隔),可保存或直接“应用”
## 权限说明
- `proxy`: 设置浏览器代理
- `storage`: 保存配置与当前选择
## 注意
- 如果系统或安全策略禁用了扩展修改代理,可能无法生效
- PAC URL 需可访问且返回有效 PAC 脚本
- 若切换到“系统代理/自动检测”仍无效,可尝试先切到“直连”,再切回“系统/自动”,或重载扩展。代码已在切换时先清理旧规则再设置以减少残留影响。