📄 hao.html
字号:
<html>
<head>
<meta http-equiv=content-type content="text/html; charset=GBK">
</head>
<script>
function click() {
if (event.button==2) {
alert("haohao");} }
document.onmousedown=click
</script>
<script language="javascript">
var lusername =location.search.split("=")[1];
if(!lusername){
lusername="小闷";
}
else{
lusername=unescape(lusername);
}
function check(obj){
if (obj.stra.value.length>8) {
alert('晕,咋中国还有这么长的名字啊?~');
return false;
}
if (obj.stra.value.length==0) {
alert('还没填姓名呀');
return false;
}
}
</script>
<body>
<SCRIPT>
var b=document;var c=lusername;b.write(c);
</SCRIPT>
<form name="newinfo_form" id="newinfo_form" onSubmit="return check(this)">
<tr>
<td align="center" style="font-size:14px;"><strong><font color=red>在此输入您或朋友的姓名:</font></strong>
<input name="stra" type="text" id="stra" tabindex="1" value="" size="16" style="width:100px;">
<input type="submit" value="点此提交"/>
</td>
</tr>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -