-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问插件的system or direct如何生效? #65
Comments
插件是基于浏览器的代理接口的,不是去修改系统 hosts 文件,所以,和系统基本没有关系,所以命令行当然是 ping 不到的哈。 Default 配置的 System/Direct 是指当您的访问没有匹配上您的配置时,是走系统代理配置,还是直接连接。 |
我这边也没有生效,同问。 |
@stevobm 请使用一个能够正确响应的代理服务来配置,而不是配置一个无法访问/解析的代理服务来测试插件配置是否生效。 因为貌似浏览器会在目标代理未能正常响应的情况下忽略代理配置从未尽量保证访问目的达成,这个暂时未能找到相关文档说明,但测试下来确实如此。 |
上面只是个例子,实际情况是,即便配置是能用的代理,也不生效。我查到新版本的Chrome好像是禁止插件rewrite网络请求了,导致这类模拟hosts的插件现在都用不了了,是吗?@Riant |
@stevobm 这类代理插件走的是浏览器提供的 API, 插件只是提供了一个更直观的配置界面而已,然后转换为浏览器要求的语法提供给浏览器,实际还是浏览器在控制网络请求的,所以不存在 rewrite 网络请求的问题。 只是此前没有时间精力维护这个项目,所以插件转让给了别人,但是发现好像对方也没升级,所以现在有什么需要优化的,我也升级不了了。 : ( |
我选择system选项,在浏览器配置好host后,在命令行ping相应的域名,并不能生效
The text was updated successfully, but these errors were encountered: