1
kingwrcy 2013-10-09 17:21:01 +08:00
你用的什么代理插件?如果是用的Proxy SwitchSharp,当前网站如果使用了代理,右上角那个图标是有颜色的,反之则是灰色的.
|
2
danzwl OP @kingwrcy 现在用的是系统Pac代理设置 不用Proxy SwitchSharp是因为它和Chrome经常性格不合
|
3
1423 2013-10-09 20:12:19 +08:00
PAC加alert,可复制以下
function gen_dbg_info(){ debugPAC = "IP: " + myIpAddress(); debugPAC += ", Hostname: " + host; if (isResolvable(host)) {resolvableHost = "True"} else {resolvableHost = "False"}; debugPAC += ", Host Resolvable: " + resolvableHost; debugPAC += ", Hostname IP: " + dnsResolve(host); if (isPlainHostName(host)) {plainHost = "True"} else {plainHost = "False"}; debugPAC += ", Plain Hostname: " + plainHost; debugPAC += ", Domain Levels: " + dnsDomainLevels(host); debugPAC += ", URL: " + url; // Protocol can only be determined by reading the entire URL. if (url.substring(0,5)=="http:") {protocol="HTTP";} else if (url.substring(0,6)=="https:") {protocol="HTTPS";} else if (url.substring(0,4)=="ftp:") {protocol="FTP";} else {protocol="Unknown";} debugPAC +=", Protocol: " + protocol; } function end(_result){ if (debug === 1){ debugPAC = _result + ", " + debugPAC; alert(debugPAC); } return _result; } if (debug === 1) gen_dbg_info(); 在chrome://net-internals/#events 中搜索,筛选,查看 |