網(wǎng)頁自動轉(zhuǎn)頁:
<META HTTP-EQUIV="Refresh" CONTENT="7;URL=http://adf.ly/BWYpE">
自動播放音樂代碼:
<embed src="背景音樂網(wǎng)址" hidden="true" autostart="true" loop="true">隱藏代碼
<embed src="網(wǎng)址" height="300" width="450" autostart="true" loop="true">可見代碼
加入收藏代碼:
<a target=_top href="/javascript:window.external.AddFavorite('http://www.x.com')>〖加入收藏〗</a>
設(shè)為首頁:
<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.x.com/);">【設(shè)為首頁】</a>
關(guān)閉本頁:
<a href="javascript:windows.close()")關(guān)閉頁面</a>
后退:
<a href="history.go(-1)">后退</a>
關(guān)閉網(wǎng)頁自動彈出另一個網(wǎng)頁的代碼:
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<SCRIPT language=javascript>
var leave=true;
function stbs()
{
if (leave)stb.DOM.Script.window.open('http://adf.ly/BWCV5','_blank');}
</SCRIPT>
<OBJECT id=stb height=1 width=11 classid=clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A>
<PARAM NAME="ActivateActiveXControls" VALUE="1"><PARAM NAME="ActivateApplets" VALUE="1">
</OBJECT>
<BODY onbeforeunload=stbs()>
打開的窗口自動躲到本身窗口的后面,可以實(shí)現(xiàn)無察覺打開頁面 :
<script
language="javascript">
{
newwin=window.open("http://adf.ly/BWCV5","淘就淘吧","width=750 height=650");
newwin.blur();
}
</script>
關(guān)閉彈出確認(rèn):
<html><head><title></title></head><body onbeforeunload="return '0,0,0'" onUnload="leave()" oncontextmenu="return false" ondragstart="return false" onselectstart="return false" vlink="#0000FF" style="font-size: 9pt" topmargin="0" leftmargin="0">
<script>
function leave() {
window.open('index.html','', 'width=20,height=20,top=0,fullscreen');
}
</script>
asdasd
</body></html>
使網(wǎng)頁無法關(guān)閉
<script>function a(){ for(i=1;i>0;i=1){ alert("你關(guān)不掉的!") }}window.onunload=a</script>
網(wǎng)站插入一個小網(wǎng)頁
<DIV style="OVERFLOW-Y: hidden; WIDTH: 100%" id=431968191557089049 class=wcustomhtml align=left><IFRAME height=260 src="http://baidu.com" frameBorder=0 width=389 name=iFrame1 scrolling=no></IFRAME></DIV>