html 惡作劇無限彈窗
阿新 • • 發佈:2019-02-14
今天天氣不錯,太陽也很大, 跟鋁朋友聊天突然想捉弄她一下,然後就在網上找了個無限彈窗的程式碼,你懂得 ,這就是個頁面無限重新整理的程式碼,開啟後不停的質問對方是不是豬這個問題。。。
<html> <head> <SCRIPT language=JavaScript>alert("你是豬嗎?")</SCRIPT> <script language="JavaScript"> function myrefresh(){ window.location.reload(); } setTimeout('myrefresh()',100); </script> </head> <body onload="a();"> </body> </html>
果然不出所料,鋁朋友生氣了,鬱悶,尋思一下,畢竟不是每個人都像我這樣心裡承受能力那麼強,我還是誠摯的道歉比較好,為了表達我的誠意,我又在網上搜了一個不噁心的程式碼,改了改,程式碼是醬紫的,希望朋友原諒我~~~
<html> <head> <title>道歉信</title> <style type="text/css"> </style> </head> <body bgcolor="#fef4d9"> 道歉信<hr> <center> </center> <center> <table border=0 bordercolor="#111111" borderlight=green style="border-collapse: collapse" cellpadding="0" cellspacing="0"> <tr><td align=center> </td></tr><tr><td align=center><a href="" onMouseover="alert('這個背景好爛'); alert('你喜歡暖色調麼?'); alert('算了,不說廢話了,開始道歉吧,這才是正事'); alert('我錯了!'); alert('請原諒我直白又任性的表達!'); alert('希望您老人家天天開森!'); alert('我'); alert('再'); alert('說'); alert('一'); alert('遍'); alert('我錯了!'); alert('為了讓您老人家開森'); alert('再點兩下吧'); alert('價錢不超過5塊就好,最好是包郵的那種'); window.location='http://www.taobao.com'; window.href='http://www.taobao.com';">拜託滑鼠放這兒</a> </td></tr> </table></center> </body> </html>