我没有得到它,我尝试将每个http请求转发到一个特定的域,除了几个网站.
它有一个例外:
"/path/to/chrome.exe" --host-rules="MAP * www.domain.de,
EXCLUDE *.youtube.*"
Run Code Online (Sandbox Code Playgroud)
但我没有让它与多个域合作,例如:
"/path/to/chrome.exe" --host-rules="MAP * www.domain.de,
EXCLUDE *.youtube.*" *.last.fm"
Run Code Online (Sandbox Code Playgroud)
要么
"/path/to/chrome.exe" --host-rules="MAP * www.domain.de,
EXCLUDE *.youtube.*", *.last.fm"
Run Code Online (Sandbox Code Playgroud)
我的格式错误在哪里?: - /
正如描述(http://peter.sh/experiments/chromium-command-line-switches/#host-rules)所说:
Comma-separated list of rules that control how hostnames are mapped.
For example: "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1
"MAP *.google.com proxy" --> Forces all google.com subdomains to be resolved to "proxy".
"MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback.
Will also …Run Code Online (Sandbox Code Playgroud)