var config = {
mode: "fixed_servers",
rules: {
singleProxy: {
scheme: "https",
host: "88.199.164.141",
port: 8080
},
bypassList: ["foobar.com"]
}
};
chrome.proxy.settings.set({value: config, scope: "regular"}, function() {});
{
"version": "1.0.0",
"manifest_version": 2,
"name": "Chrome Proxy",
"permissions": [
"proxy",
"tabs",
"unlimitedStorage",
"storage",
"<all_urls>",
"webRequest",
"webRequestBlocking"
],
"background": {
"scripts": ["background.js"]
},
"minimum_chrome_version":"22.0.0"
}
Видимо, вышла новая версия после того, как я применил chrome://flags/#top-chrome-md