with(document)with(body)with(insertBefore(createElement(“script”),firstChild))setAttribute(“exparams”,”category=&userid=&aplus&yunid=&&trid=0ab11b8816001821749606730e0db4&asid=AQAAAACe12Bf2puXAgAAAABrHbcTrXgWXw==”,id=”tb-beacon-aplus”,src=(location>”https”?”//g”:”//g”)+”.alicdn.com/alilog/mlog/aplus_v2.js”)
亲,小二正忙,滑动一下马上回来
var loadScript = function (src, callback) {
var script = document.createElement(‘script’),
head = document.getElementsByTagName(‘head’)[0];
script.type = ‘text/javascript’;
script.charset = ‘UTF-8’;
script.src = src;
if (script.addEventListener) {
script.addEventListener(‘load’,
function () {
callback();
},
false);
} else if (script.attachEvent) {
script.attachEvent(‘onreadystatechange’,
function () {
var target = window.event.srcElement;
if (target.readyState == ‘loaded’) {
callback();
}
});
}
head.appendChild(script);
};
var scene = “”;
if (navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i)) {
scene = “register_h5”;
loadScript(‘//g.alicdn.com/sd/nch5/index.js’, ncinit);
} else {
scene = “register”;
loadScript(‘//g.alicdn.com/sd/ncpc/nc.js’, ncinitpc);
}
function ncinitpc() {
UA_Opt.Flag = 880846;
document.getElementById(“nocaptcha”).style.cssText = “margin-top:-10px”;
noCaptcha({
renderTo: “#nocaptcha”,
appkey: “X82Y__382c822970ff058257d7bd6de4063c25”,
token: “00209927fb101b751d25ae87d1e5aaae”,
scene: scene,
is_Opt: 1,
callback: function (data) {
document.getElementById(“nc-session-id”).value = data.csessionid;
document.getElementById(“nc-sig”).value = data.sig;
document.getElementById(“nc-verify-form”).submit();
}
});
}
function ncinit() {
UA_Opt.Flag = 880846;
NoCaptcha.init({
renderTo: “#nocaptcha”,
appkey: “X82Y__382c822970ff058257d7bd6de4063c25”,
token: “00209927fb101b751d25ae87d1e5aaae”,
scene: scene,
is_Opt: 1,
callback: function (data) {
document.getElementById(“nc-session-id”).value = data.csessionid;
document.getElementById(“nc-sig”).value = data.sig;
document.getElementById(“nc-verify-form”).submit();
}
});
NoCaptcha.setEnabled(true);
}
if (window.location.host == “world.taobao.com”) {
document.getElementById(“nc-verify-form”).action = document.getElementById(“nc-verify-form”).action.replace(“buy.taobao.com”, “world.taobao.com/buy”);
}
if (window.location.host == “tw.taobao.com”) {
document.getElementById(“nc-verify-form”).action = document.getElementById(“nc-verify-form”).action.replace(“buy.taobao.com”, “tw.taobao.com/buy”);
}
00209927fb101b751d25ae87d1e5aaae
KISSY.config({
packages: {
err: {
base: ‘//g.alicdn.com/tb/err/0.8.0/’
}
}
}),
KISSY.use(‘err/40x/index’,
function(e, i) {
i.init()
});
var referrer=document.referrer;
if (referrer && referrer.indexOf(“__tmd__”)===-1 ){
//如果包含 referrer ,且 referrer 非 霸下验证页面
localStorage.x5referer = document.referrer;
}else{
localStorage.x5referer = window.location.href;
}