Bogdacutu
Bogdacutu

Reputation: 771

How to intercept proxy authentication dialog from Google Chrome extension?

When the proxy requires authentication (a PAC script is used), the user has to enter username and password. Is there any way to replace that dialog with my own script, and then give the browser the data it needs? (username/password pair)

Upvotes: 4

Views: 2213

Answers (1)

Gaël Barbin
Gaël Barbin

Reputation: 3919

You can do that using the experimental API WebRequest:WebRequest#event-onAuthRequired

But you'll can't put the extension in the Chrome store.

Upvotes: 2

Related Questions