Answer the question
In order to leave comments, you need to log in
Why doesn't proxy setting through chrome extension work?
The code:
function setproxy() {
var config = {
mode: "fixed_servers",
rules: {
singleProxy: {
scheme: "http",
host: "67.205.148.246",
port: 53
},
bypassList: ["*site1.com", "*site2.com", "*ifconfig.co"]
}
};
alert(JSON.stringify(config));
chrome.proxy.settings.set(
{value: config, scope: 'regular'},
function() {});
}
Effective proxy settings
Proxy server: 67.205.148.246:53
Bypass list:
*site1.com
*site2.com
*ifconfig.co
Answer the question
In order to leave comments, you need to log in
So you have ifconfig.co registered in the bypass, i.e. for him, the proxy should not work.
Individual servers may be excluded from being proxied with the bypassList.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question