本文目录一览:
这个恶搞网页代码是怎么写出来的?
俗称:整人页面,就是用JavaScript脚本做的一个弹出信息框。你直接在任务管理器中结束掉这个任务,就可以不用一直点到最后了。。 下边是例子,你可以看下,保存为***.html就可以了。 html head title开心一刻-----哈哈/title /head body 整人页面哦 P SCRIPT language=JavaScriptalert("欢迎你来到这里!")/SCRIPT SCRIPT language=JavaScriptalert("真的,你走运了!")/SCRIPT SCRIPT language=JavaScriptalert("你真厉害")/SCRIPT SCRIPT language=JavaScriptalert("你是怎样知道本站的?") /SCRIPT SCRIPT language=JavaScriptalert("同学介绍的吗?")/SCRIPT SCRIPT language=JavaScriptalert("哈哈呵呵")/SCRIPT SCRIPT language=JavaScriptalert("你被他骗了!")/SCRIPT SCRIPT language=JavaScriptalert("别难过了~~~")/SCRIPT 复制粘贴更多的内容。。。 SCRIPT language=JavaScriptalert("祝贺你!你终于出来了!恭喜恭喜!")/SCRIPT /P /body /html 记得采纳哦。。哈哈。
html愚人节整人一直弹的网页窗口代码放在哪里编辑?
html
body
script
var i
for(i=5;i4;i++)
{
alert("弹出一个文本框")
}
/script
/body
/html
复制到记事本中,后缀名改成.html
求JavaScript整人代码
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""
html xmlns="" xml:lang="en"
head
meta http-equiv="Content-Type" content="text/html;charset=UTF-8"
titleDocument/title
script type="text/javascript"
function myadd(obj,e,fn){
if(obj.attachEvent){
obj.attachEvent("on"+e, fn);
}else{
obj.addEventListener(e,fn,false);
}
}
myadd(window, 'load',function(){
var box1 = document.getElementById("box1");
var close = document.getElementById("close");
var nr = document.getElementById("nr");
var i = 0;
var shuzu = [
'哈哈你被整了!1',
'哈哈你被整了!2',
'哈哈你被整了!3',
'哈哈你被整了!4',
'哈哈你被整了!5',
'哈哈你被整了!6',
'哈哈你被整了!7',
'哈哈你被整了!8',
'哈哈你被整了!9',
'哈哈你被整了!0','哈哈你被整了!1',
'哈哈你被整了!2'
]
close.onclick = function(){
i++;
if(i == 12){
i = 0;
}
nr.innerHTML = shuzu[i]
box1.style.display = 'none'
window.setTimeout(function(){
box1.style.display = 'block'
},400)
}
})
/script
/head
style type="text/css"
.box1{
background:#ccc;
width:200px;
margin:200px auto;
}
.bgs{
position:fixed;
top: 0px;
left: 0px;
background:rgba(0,0,0,0.4);
width:100%;
height: 100%;
}
.box1 .close{
font-size: 18px;
line-height:40px;
background:red;
color:white;
cursor: pointer;
}
/style
body
div class="9a79-9e24-eba2-fa72 bgs" id = 'box1'
div class="9e24-eba2-fa72-e9ff box1"
div class="eba2-fa72-e9ff-69f5 close" id = 'close' style = 'text-align:ceter;'点我关闭吧 x/div
div class="fa72-e9ff-69f5-4854 nr" id= 'nr'哈哈你被整了!/div
/div
/div
/body
/html
谁有搞笑整人的网页
‡与龟同行‡ 叫你计算机“爬”着工作
‡跳动窗口‡ 让你的窗口跳起来
‡窗口冻结‡ 冻结你的窗口,使窗口无法再响应
‡鼠标失控‡ 鼠标碰到跳出无数个窗口
‡超级地震‡ 屏幕地震啊
‡鼠标底限‡ 让你的鼠标永远点下去
‡强迫聊天‡ 很恶心的常见整人效果
‡无穷玩尽‡ 弹出无限窗口
‡格C盘‡ 极度危险--轻意不要试
‡死亡窗口‡ (黑客特效)冻结你的窗口,使窗口无法再响应
‡恶作剧‡ 被黑了吧!下次要小心呀
‡格式化硬盘‡ 将硬盘格式化---轻意不要试
‡黑客特效‡ 这简直是一个疯狂的效果。。 大地震啊。!!!
‡强迫进站‡ 呵一个完全强制别人逛它处的站点。你按运行试试再关闭后就可以知道效果
‡IE炸弹‡ IE视窗炸弹或者叫让IE不段循环的代码
页面被冻结 打开后窗口被冻结,就像死机
新电脑死机 下面的每一个按钮都很危险,一按你的电脑立即死机
这么多
HTML 整人代码
script language="javascript"
function hr(){
alert('你关不掉的^_^')
hr();
}
/script
body onLoad="hr()"
/body
做坏事了 面壁去。。
恶作剧的网页
参考代码:
headMETA content="text/html; charset=gb2312" http-equiv=Content-TypeMETA content="Microsoft FrontPage 4.0" name=GENERATORtitle整人页面/title
style fprolloverstyleA:hover {color: #FF0000}
/style
/HEAD
BODY bgcolor="#CCFFCC" text="#006600" link="#0000FF" vlink="#0000FF" alink="#0000FF"
SCRIPT language=JavaScript!--// Hide the JavaScript from older browsers (window.alert(" 18岁以下禁止进入,请按确定")) // End hiding of script // --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你的系统严重出错!请关闭其他窗口! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你的系统严重出错!请关闭其他窗口! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你的系统严重出错!请关闭其他窗口! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你的系统严重出错!请关闭其他窗口! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你的系统严重出错!请关闭其他窗口! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 靠!你真的关啦?厉害……"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 现在后悔进来了?请按确定推出…… "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 哎呀,来不及了。请按确定 "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 你一定得18岁才准退出,请按确定 "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 我不相信你.........."))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("很对不起~但我得看你的身份证"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("拿着你的身份证对着萤幕"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert(" 算了,就是不让你走!进来玩玩吧! "))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("现在我得检查你的性别"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("对!!检查你的性别!!!!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("据我的推测,你不是男的就是女的"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("好吧~现在把你衣服脱掉"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你得光着身子才能进入这个网页"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("我说真的!!把你衣服脱掉!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("真的要裸体才能进来!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("如果你执意不肯脱那就别进来吧!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("铐!!快把你衣服穿上!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("夭寿...再也别把你衣服脱下来了!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你得负责我下半辈子.."))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("想听一个笑话吗??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("等等!!你好像现在都一直在按确定!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("ㄟ~~算了"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("对了~可以借我一点钱吗??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("拿着你的信用卡对着萤幕"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("等一下..我去把我资料拿下来"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("嗯...现在都在我手上了"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("好啦~你可以把你卡收起来了"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("OH~YEAH~开个玩笑嘛"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("为什麽这个主机要把这个网页放上来??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("嘿嘿....不知道吧??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("因为我想耍人!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("换句话说~你被卡在这里了!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("除非我打算让你走.."))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("可是....我什麽时候会想让你走咧??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你按确定的姿势有很大的进步喔!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("既然你被卡在这里~我只好跟你讲一个故事来解解闷喽!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你一定很想听吧??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("我这麽做是为了让你呆久一点~知道吗??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("仔细听好~故事开始喽!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("很久很久很久很久以前~有一个网瘾狂"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("任何一个上网的机会他都不会错过"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("感觉很熟悉吧??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("无论如何!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("他爸妈跟他说他不该上太多网"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("不然的话就会有些怪人带他去些怪地方"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("可是他从来都不听.有一天他到了某个网站..."))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("这里真的很烦!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("从此以后~他再也不想上网了"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("ㄛ喔~嘿嘿嘿"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("你能猜的出来他到了那个站了吗??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("很简单的问题吧?!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("没错!!他到了这里!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("你大概在猜这所有的东西应该有一些意义吧??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("……………………"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("可是~一点意义都没有!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("ㄟ~~事实上~~算是有一个原因啦!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("想知道吗??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("那就是把你卡在这里啦!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("ㄛ喔!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("嗯~~说真的这站实在很白痴..."))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("对啦~白痴按确定练习站!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("你大概推测出来了吧??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("对了~你知道吗??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("如果你想把你的任何一个朋友搞疯掉"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("你可以把这个站寄给他!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("Wow~听起来很过瘾吧??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("大概要按90多次确定吧??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("ㄛ喔!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("所以呢~当你进入这站的时候.."))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("就顺便把这网站寄给大家吧!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("让他们了解一下你现在的感受!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你现在终於可以进入这网站啦!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("等等!!我想跟你说另外一个故事!!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("ㄛ喔!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("你快疯了吧??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("这可不是我的错喔~~你应该在网上找些别的东西!!"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("知道了吧??现在你可能可以了解上网的坏处了吧??"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript
!-- Hide the JavaScript from older browsers
(window.alert("因为你还有可能碰到类似的网页喔!"))
// End hiding of script --
/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("你仔细想一想...不觉得有趣吗??"))
// End hiding of script
// --/SCRIPT
SCRIPT language=JavaScript!--
// Hide the JavaScript from older browsers
(window.alert("好吧~我对不起你~你生命可以继续啦!!"))
// End hiding of script
// --/SCRIPT
div align="center"
center
table border="0" cellpadding="0" cellspacing="0" width="750"
tr
td height="20"/td
td height="20"/td
td height="20"
p/td
td height="20"/td
/tr
tr
td width="9%"/td
td width="41%"/td
td width="43%"
p align="right"/td
td width="7%"/td
/tr
tr
td width="100%" colspan="4"
p align="center" /p
P align=centerFONT color=#339966 face=Wingdings
size=7ABCDEFGHIMNBR*(/FONT/P
p align="center"font size="4" face="Arial"bHeHe......Just a joke!/b/font/p
p align="center"font size="4" face="Arial"bHave FUN....../b/font/p
p align="center" /td
/tr
/table
/center
/div
/BODY
里面的字可以直接改,复制代码,保存到记事本,把txt文件重命名为.html文件就可以!