...
|
...
|
@@ -110,7 +110,26 @@ |
|
|
return vars;
|
|
|
}
|
|
|
|
|
|
var uid = queryString().uid || 0;
|
|
|
function getCookie(Name) {
|
|
|
var search = Name + "="
|
|
|
var value = "";
|
|
|
|
|
|
if (document.cookie.length > 0) {
|
|
|
sd = document.cookie.indexOf(search);
|
|
|
if (sd!= -1) {
|
|
|
sd += search.length;
|
|
|
end = document.cookie.indexOf(";", sd);
|
|
|
if (end == -1)
|
|
|
end = document.cookie.length;
|
|
|
//unescape() 函数可对通过 escape() 编码的字符串进行解码。
|
|
|
value=unescape(document.cookie.substring(sd, end))
|
|
|
}
|
|
|
}
|
|
|
return value;
|
|
|
}
|
|
|
|
|
|
var uid = getCookie('uid') || queryString().uid || 0;
|
|
|
|
|
|
window._ozuid = uid; // 暴露ozuid
|
|
|
if (window._yas) {
|
|
|
window._yas(1 * new Date(), '2.4.18', 'yohobuy_m', uid, '', '');
|
...
|
...
|
|