V
V
Vyacheslav Grachunov2018-07-01 02:12:01
Google Chrome
Vyacheslav Grachunov, 2018-07-01 02:12:01

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() {});

}

But when checking through ifconfig.co - still my IP.
And on the chrome://net-internals/#proxy page, I see the following:
Effective proxy settings
Proxy server: 67.205.148.246:53
Bypass list: 
  *site1.com
  *site2.com
  *ifconfig.co

Is it installed but not working? What's the matter?
Help me, please! for several days I can not figure it out
67.205.148.246:53 - a working free proxy from the Internet, it works in fox.
The permission "proxy" is written in the manifest

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Bobylev, 2018-07-01
@Qwentor

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 question

Ask a Question

731 491 924 answers to any question