Answer the question
In order to leave comments, you need to log in
How to connect to a password-protected proxy in a Chrome extension?
Subject
I do something like this:
var config = {
mode: "fixed_servers",
rules: {
proxyForHttp: {
scheme: "http",
host: "ip_adress",
port: port
},
proxyForHttps: {
scheme: "http",
host: "ip_adress",
port: port
},
bypassList: ["*site1.com", "*site2.com"]
}
};
Answer the question
In order to leave comments, you need to log in
Try listening and handling the chrome.webRequest.onAuthRequired event
https://developer.chrome.com/extensions/webRequest...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question