不伤及服务器,可以用来测试项目效果
修改网页、不修改服务器端任何网页页面 javascript:document.body.contentEditable='true';document.designMode='on';!msn1dai
javascript:document.body.contentEditable='true';document.designMode='on';void0
恢复编辑前效果:javascript:document.body.contentEditable='false'; void 0
计算器 javascript: alert(34343+3434-222);
晃 javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200;
DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style;
DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0)
破解屏蔽的右键、复制、选择:javascript:alert(document.oncontextmenu=document.onselectstart="OK")
或者: javascript:alert(document.body.oncontextmenu=document.body.onselectstart="OK")
解除网站一切限制、复制、粘贴、右键:javascript:(function(e,f,w,d,b,i){for(i=0;i<e.length;)(t=e[i++],w[t]=d[t]=b[t]=f);})
(['onmousedown','onmouseup','onmousemove','ondblclick','onclick','oncontextmenu','onmousewheel','onselectstart','oncopy','onkeydown','onkeypress','onkeyup']
,new Function,window,document,document.body);
显示网页中的所有图片:javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){Ai7Mg6P+='<img%20src='+document.images[i7M1bQz].src+'>
<br>'};if(Ai7Mg6P!=''){document.write('<center>'+Ai7Mg6P+'</center>');void(document.close())}else{alert('No%20images!')}
显示网页源代码(对于加密过的可以直接显示其加密前的源代码)
javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;
查看网站更新时间:javascript:alert(document.lastModified)
显示当前网页的COOKIE :javascript:alert(document.cookie)