cmaedu.com
把下面复制到记事本,另存为HTML文件。你可以自己DIY一下。
cmaedu.comhtml
cmaedu.comhead
title类似黑客帝国的01数字流/title
/head
cmaedu.combody bgcolor=#000000
script language="JavaScript"
if (document.all){
cmaedu.comCols=6;
Cl=24;//Space's are included so real length is 48!
Cs=10;
cmaedu.comTs=10;
Tc='#008800';
cmaedu.comTc1='#00ff00';
cmaedu.comMnS=20;
MxS=30;
I=Cs;
cmaedu.comSp=new Array();S=new Array();Y=new Array();
cmaedu.comC=new Array();M=new Array();B=new Array();
RC=new Array();E=new Array();Tcc=new Array(0,1);
cmaedu.comdocument.write("div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");
cmaedu.comdocument.write("div style='position:relative'");
cmaedu.comfor(i=0; i Cols; i++){
S[i]=I+=Cs;
document.write("div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"
+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'/div");
cmaedu.comdocument.write("/div/div");
cmaedu.comfor(j=0; j Cols; j++){
RC[j]=1+Math.round(Math.random()*Cl);
Y[j]=0;
Sp[j]=Math.round(MnS+Math.random()*MxS);
cmaedu.comfor(i=0; i RC[j]; i++){
cmaedu.com B[i]='';
C[i]=Math.round(Math.random()*1)+' ';
M[j]=B[0]+=C[i];
cmaedu.comfunction Cycle(){
cmaedu.comContainer.style.top=window.document.body.scrollTop;
cmaedu.comfor (i=0; i Cols; i++){
var r = Math.floor(Math.random()*Tcc.length);
E[i] = 'font color='+Tc1+''+Tcc[r]+'/font';
cmaedu.comY[i]+=Sp[i];
cmaedu.comif (Y[i] window.document.body.clientHeight){
for(i2=0; i2 Cols; i2++){
RC[i2]=1+Math.round(Math.random()*Cl);
cmaedu.com for(i3=0; i3 RC[i2]; i3++){
cmaedu.com B[i3]='';
cmaedu.com C[i3]=Math.round(Math.random()*1)+' ';
C[Math.floor(Math.random()*i2)]=' '+' ';
M[i]=B[0]+=C[i3];
cmaedu.com Y[i]=-Ts*M[i].length/1.5;
cmaedu.com A[i].style.visibility='visible';
cmaedu.com Sp[i]=Math.round(MnS+Math.random()*MxS);
A[i].style.top=Y[i];
A[i].innerHTML=M[i]+' '+E[i]+' ';
setTimeout('Cycle()',20)
cmaedu.comCycle();
/script
body
/body
cmaedu.com/html
在WndProc这个回调函数里加个鼠标移动消息(WM_MOUSEMOVE)的判断即可。
由于这个消息很灵敏,你感觉鼠标没有动,实际也退出了。所以,在这个消息下面再加上一个移动距离的判断即可。距离越短,鼠标移动时退出检测就越灵敏。
cmaedu.com例如:
case WM_MOUSEMOVE:
static int xPos = 0;// 上一次鼠标位置
static int yPos = 0;
cmaedu.com // 如果是0则是第一次接收,存储第一次鼠标位置
if (xPos == 0 || yPos == 0)
cmaedu.com xPos = LOWORD(lParam);
yPos = HIWORD(lParam);
return 0;
}// 如果不是第一次接收,说明已有上次鼠标位置数据,与本次位置判断一下移动距离(即灵敏度)即可
cmaedu.com else if ( abs(xPos - LOWORD(lParam)) 100 || abs(yPos -HIWORD(lParam)) 100 )
PostQuitMessage(0);// 鼠标移动大于100就退出
cmaedu.com return 0;
abs求出绝对值来判断,可以保证如果算出负数距离仍能正确退出。lParam包含鼠标的xy坐标,需要LOWORD和HIWORD来取出。
cmaedu.com实际上很简单,对吧?
BODY
cmaedu.comscript language="JavaScript"
cmaedu.comif (document.all){
cmaedu.comCols=6;
Cl=24;//Space's are included so real length is 48!
cmaedu.comCs=10;
cmaedu.comTs=10;
cmaedu.comTc='#008800';
cmaedu.comTc1='#00ff00';
MnS=20;
MxS=30;
cmaedu.comI=Cs;
cmaedu.comSp=new Array();S=new Array();Y=new Array();
cmaedu.comC=new Array();M=new Array();B=new Array();
RC=new Array();E=new Array();Tcc=new Array(0,1);
cmaedu.comdocument.write("div id='Container' style='position:absolute;top:0;left:-"+Cs+"'");
document.write("div style='position:relative'");
cmaedu.comfor(i=0; i Cols; i++){
S[i]=I+=Cs;
cmaedu.comdocument.write("div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"
+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'/div");
cmaedu.comdocument.write("/div/div");
for(j=0; j Cols; j++){
RC[j]=1+Math.round(Math.random()*Cl);
cmaedu.comY[j]=0;
Sp[j]=Math.round(MnS+Math.random()*MxS);
for(i=0; i RC[j]; i++){
cmaedu.com B[i]='';
C[i]=Math.round(Math.random()*1)+' ';
M[j]=B[0]+=C[i];
cmaedu.comfunction Cycle(){
cmaedu.comContainer.style.top=window.document.body.scrollTop;
cmaedu.comfor (i=0; i Cols; i++){
cmaedu.comvar r = Math.floor(Math.random()*Tcc.length);
cmaedu.comE[i] = 'font color='+Tc1+''+Tcc[r]+'/font';
cmaedu.comY[i]+=Sp[i];
cmaedu.comif (Y[i] window.document.body.clientHeight){
cmaedu.com for(i2=0; i2 Cols; i2++){
cmaedu.com RC[i2]=1+Math.round(Math.random()*Cl);
for(i3=0; i3 RC[i2]; i3++){
B[i3]='';
C[i3]=Math.round(Math.random()*1)+' ';
C[Math.floor(Math.random()*i2)]=' '+' ';
M[i]=B[0]+=C[i3];
cmaedu.com Y[i]=-Ts*M[i].length/1.5;
cmaedu.com A[i].style.visibility='visible';
cmaedu.com Sp[i]=Math.round(MnS+Math.random()*MxS);
A[i].style.top=Y[i];
A[i].innerHTML=M[i]+' '+E[i]+' ';
cmaedu.comsetTimeout('Cycle()',20)
Cycle();
cmaedu.com/script
演示地址:
cmaedu.com注:必须要有body标签~
微信怎么只查看群聊天记录里的图片? 很多用户来咨询,说想知道怎么查看微信群相册,好像总是找不到入口。其实方法很简单,软件帝为各位准备了操作教程,跟着下文的方法来做就能成功查看群相册啦!1打开你的微信,...
老师能看到学生的聊天记录吗? 除因国家安全或者追查刑事犯罪的需要,由公安机关或者检察机关依照法律规定的程序对通信进行检查外,任何组织或者个人不得以任何理由侵犯公民的通信自由和通信秘密。”所以就说明了老...
姑娘晒相亲聊天记录火了:明确拒绝,依然打扰,这样的男人能要吗?_百度... 1、应该都不小了,是可以用语言形容可以表达,每个人都有自尊心,沟通,让他死了这条心,还要个办法就是,你爱我是你的事,就是你每...
4月7日《非你莫属》嘉宾黑客「王鑫」的发展如何?,, 网上并没有后续报道。王鑫是非你莫属20130407这期,第4位求职者,是学网络安全专业的,节目中求职的意向是58同城的安全工程师。最后58同城开出...
华为如何把聊天记录发给别人 如果您想把微信聊天记录发给他人,可以通过以下方法:1、打开聊天界面,长按聊天内容,或弹出一栏选项,选择“更多...”2、把想要转发的聊天内容前面打上勾,选择完毕后点击左下角...
抖音怎样查私聊记录? 1.打开抖音,点击我进入抖音页面点击“我”。2.我的页面中点击朋友在我的页面点击“朋友”。3.点击朋友列表点击“朋友列表”。4.好友页面点击私信点击要查看的好友,在好友页面点击“...