_cookie.setCookie("ts_uid", !0) 这句中的 !0是什么意思 这个参数是怎么来的。完整Jsrun: function() {
var e, t, n;
e = (new Date).getTime(),
_cookie.init(),
this.url.push(this.getDomainInfo()),
this.coverCookie(),
_cookie.setCookie("ssid"),
_cookie.save(),
this.url.unshift("http://pingfore." + this.getCookieSetDomain(_curDomain) + "/pingd?"),
this.url.push(this.getRefInfo(_params));
try {
navigator.cookieEnabled ? this.url.push("&pvid=" + _cookie.setCookie("pgv_pvid", !0)) : this.url.push("&pvid=NoCookie")
} catch(r) {
this.url.push("&pvid=NoCookie")
}
this.url.push(this.getMainEnvInfo()),
this.url.push(this.getExtendEnvInfo()),
_pgvVersion && (pgvGetColumn(), pgvGetTopic(), this.url.push("&column=" + Tcss.column + "&subject=" + Tcss.subject), tracert()),
this.url.push("&vs=" + _ver),
_cookie.setCookie("ts_uid", !0),
t = (new Date).getTime(),
_ext.push("tm=" + (t - e)),
_ch && _ext.push("ch=" + _ch),
_params.extParam ? n = _params.extParam + "|": n = "",
this.url.push("&ext=" + escape(n + _ext.join(";"))),
this.url.push("&hurlcn=" + escape(_hurlcn.join(";"))),
this.url.push("&rand=" + Math.round(Math.random() * 1e5)),
typeof _speedMark == "undefined" ? this.url.push("&reserved1=-1") : this.url.push("&reserved1=" + (new Date - _speedMark));
if (_params.pgUserType || _params.reserved2) {
var i = _params.pgUserType || _params.reserved2;
_tt.push("pu=" + escape(i.substring(0, 256)))
}
var s = this.getSud();
s && _tt.push("su=" + escape(s.substring(0, 256))),
this.url.push("&tt=" + escape(_tt.join(";"))),
this.sendInfo(this.url.join(""));
if (_crossDomain == 1) {
var o = this.getParameter("tcss_rp_dm", _d.URL);
if (o != Tcss.dm) {
var u = this.url.join("").replace(/\?dm=(.*?)\&/, "?dm=" + o + "&");
this.sendInfo(u)
}
}
_params.hot && (document.attachEvent ? document.attachEvent("onclick",
function(e) {
pgvWatchClick(e)
}) : document.addEventListener("click",
function(e) {
pgvWatchClick(e)
},
!1)),
_params.repeatApplay && _params.repeatApplay == "true" && typeof _rep != "undefined" && (_rep = 1),
this.loadScript(_speedTestUrl)
},
var e, t, n;
e = (new Date).getTime(),
_cookie.init(),
this.url.push(this.getDomainInfo()),
this.coverCookie(),
_cookie.setCookie("ssid"),
_cookie.save(),
this.url.unshift("http://pingfore." + this.getCookieSetDomain(_curDomain) + "/pingd?"),
this.url.push(this.getRefInfo(_params));
try {
navigator.cookieEnabled ? this.url.push("&pvid=" + _cookie.setCookie("pgv_pvid", !0)) : this.url.push("&pvid=NoCookie")
} catch(r) {
this.url.push("&pvid=NoCookie")
}
this.url.push(this.getMainEnvInfo()),
this.url.push(this.getExtendEnvInfo()),
_pgvVersion && (pgvGetColumn(), pgvGetTopic(), this.url.push("&column=" + Tcss.column + "&subject=" + Tcss.subject), tracert()),
this.url.push("&vs=" + _ver),
_cookie.setCookie("ts_uid", !0),
t = (new Date).getTime(),
_ext.push("tm=" + (t - e)),
_ch && _ext.push("ch=" + _ch),
_params.extParam ? n = _params.extParam + "|": n = "",
this.url.push("&ext=" + escape(n + _ext.join(";"))),
this.url.push("&hurlcn=" + escape(_hurlcn.join(";"))),
this.url.push("&rand=" + Math.round(Math.random() * 1e5)),
typeof _speedMark == "undefined" ? this.url.push("&reserved1=-1") : this.url.push("&reserved1=" + (new Date - _speedMark));
if (_params.pgUserType || _params.reserved2) {
var i = _params.pgUserType || _params.reserved2;
_tt.push("pu=" + escape(i.substring(0, 256)))
}
var s = this.getSud();
s && _tt.push("su=" + escape(s.substring(0, 256))),
this.url.push("&tt=" + escape(_tt.join(";"))),
this.sendInfo(this.url.join(""));
if (_crossDomain == 1) {
var o = this.getParameter("tcss_rp_dm", _d.URL);
if (o != Tcss.dm) {
var u = this.url.join("").replace(/\?dm=(.*?)\&/, "?dm=" + o + "&");
this.sendInfo(u)
}
}
_params.hot && (document.attachEvent ? document.attachEvent("onclick",
function(e) {
pgvWatchClick(e)
}) : document.addEventListener("click",
function(e) {
pgvWatchClick(e)
},
!1)),
_params.repeatApplay && _params.repeatApplay == "true" && typeof _rep != "undefined" && (_rep = 1),
this.loadScript(_speedTestUrl)
},
解决方案 »
- javascript猜游戏問題
- JS函数绑定的时候出的问题。郁闷了。。大家帮忙看看
- 问题:如何激发iframe里的a标签的onClick事件?
- 为什么添加事件没效果?
- dialogarguments is undefined
- 怎么能把 flash 文件 做网页的背景呢?
- 服务器端Xml文件正常,下载到客户端后出错:不支持从当前编码到指定编码的切换
- 怎么把框架的宽度缩小,使页面不是全屏显示?
- 急,我想用Javascript 实现多个选择的对话框,即含有YES和Nod
- 绝对精品:阿赖实用javascript控件程序及教程!!
- 请问编程中有没有比较明确的说法描述啥叫入口的概念?
- TypeError: this.dom is undefined 苦恼。。
!0 == true
自己alter一下就知道了。
0一般情况下转换成布尔型是false所以!0就是非false,可不就是true了跟参数没啥关系。