Answer the question
In order to leave comments, you need to log in
Proxy for one site using Chrome extension
Is it possible to make traffic from only one domain go through a proxy server, all other requests go without a proxy?
Those. how to write an application that will pass only traffic from mydomain.com through the proxy?
if you do as in the example https://developer.chrome.com/extensions/proxy#over...
var config = {
mode: "fixed_servers",
rules: {
proxyForHttp {
scheme: "socks5",
host: "1.2.3.4"
}
bypassList: ["foobar.com"]
}
};
chrome.proxy.settings.set (
{value: config, scope 'regular'},
function () {});
Answer the question
In order to leave comments, you need to log in
1. Use the proxy autoconfiguration script.
2. Intercept web requests and send them to the proxy from the background code.
Use pac file with desired rule
There are examples here technet.microsoft.com/en-us/library/cc817412.aspx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question