|
小编精心从网上淘了一些有价值的JavaScript代码,并有列出它们的作用,希望可以帮助到大家,使用方法:打开工具->Avant Browser选项->插件,选择"添加",将代码内容粘贴到新弹出的对话框中的内容框中,之后自定义名称、图标、类别,确定即可。具体操作可参考下图:
.显示网页中的所有图片
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.显示网页源代码(对于加密过的可以直接显示其加密前的源代码)
javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;
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.网页缩小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%') |
Windows, 程序, 电脑, 服务器, 破解, 软件, 系统, Vista, 软件, 系统, 破解, 电脑, 软件, Windows, 程序, 电脑, 破解, 软件, 网络, 系统, 软件, 系统, Ghost, 计算机, 破解, 软件, 系统, 电脑, 服务器, 密码, 破解, 软件, 网吧, 网络, 系统,
|