Chrome Extension Proxy Username and Password

I am creating a chrome extension to dynamically change proxy settings. But the function "chrome.proxy.settings.set" could not configure the username and password for the proxy server. Therefore, every time I have to manually enter credentials after changing the settings.

But I found that in Proxy Auto Auth it stands for how to program a username and password. I could not find documentation on how to do this.

I would be grateful if someone could help with this.

+4
source share
1 answer

He does this using an webRequestAPI to intercept and respond to an auth request.

. onAuthRequired . , "webRequest" "webRequestBlocking".

+2

All Articles