上网多年还不知道的秘密

[ 2006-10-09 13:41:49 | 作者: Admin ] 字号: | |
 [显示图片] [显示非图片内容] [缩小至0.5倍] [放大至1.5倍] [显示源码] [显示COOKIE]

  完全打开页面后,在该页的在地址栏或按Ctrl+O输入以下代码,回车!

1、[显示网页中的所有图片]
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!')}

2、[显示网页中非图片内容]
javascript:for(jK6bvW=0;jK6bvW<document.images.length;jK6bvW++){void(document.images[jK6bvW].style.visibility='hidden')}

3、[网页缩小至0.5倍]
javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z)-50)+'%');}else s.setAttribute('zoom','50%')

4、[网页放大至1.5倍]
javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z)+50)+'%');}else s.setAttribute('zoom','150%')

5、[显示网页源代码(对於加密过的可以直接显示其加密前的源代码)]
javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;

6、[显示当前网页的COOKIE]
javascript:alert(document.cookie)
Share
评论Feed 评论Feed: http://www.85815.com/feed.asp?q=comment&id=1027
UTF-8 Encoding 引用链接: http://www.85815.com/trackback.asp?id=1027&key=
这篇日志没有评论.
发表
表情图标
[smile] [confused] [cool] [cry]
[eek] [angry] [wink] [sweat]
[lol] [stun] [razz] [redface]
[rolleyes] [sad] [yes] [no]
[heart] [star] [music] [idea]
UBB代码
转换链接
表情图标
悄悄话
用户名:   密码:   注册?
验证码 * 请输入验证码