The Chrome proxy server cli documentation is a bit unclear:
--proxy-server=<scheme>=<uri>[:<port>];.. | <uri>[:<port>] | "direct://".
What i need is to only activate proxy if i use a specifik URL, like myproxyurl.com. Other URL run as usual. But I cant find any deep explanation for how the "scheme" is defined. I'm using a putty tunnel on port 9999.
This works: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="%USERPROFILE%\proxy-profile" --proxy-server="socks5://localhost:9999"
But when i try to set the to a URL it will not work:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="%USERPROFILE%\proxy-profile" --proxy-server="myproxyurl.com=socks5://localhost:9999"
An explanation or page where i can read about "scheme" is also most welcome, as is the solution.