怎么在易语言调用这个JS
1个回答
展开全部
if( document.cookie.indexOf('PPUV=') >= 0 ){
return;
}
var c = (new Date().getTime())*1000 + Math.round(Math.random()*1000) + '';
var cookieString = 'PPUV=' + c + '; path=/;
domain = .sohu.com;
';
var expireHours = 24*30*365;
var date = new Date();
date.setTime(date.getTime() + expireHours*3600*1000);
cookieString += "expires=" + date.toGMTString() + ";";
document.cookie = cookieString;
})();
</script>
<script>
return;
}
var c = (new Date().getTime())*1000 + Math.round(Math.random()*1000) + '';
var cookieString = 'PPUV=' + c + '; path=/;
domain = .sohu.com;
';
var expireHours = 24*30*365;
var date = new Date();
date.setTime(date.getTime() + expireHours*3600*1000);
cookieString += "expires=" + date.toGMTString() + ";";
document.cookie = cookieString;
})();
</script>
<script>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询