IE中直接运行显示当前网页中的图片 推荐

jb51修正版
使用方法直接在已打开网页的IE地址栏中输入即可

1.显示网页中的所有图片
复制代码 代码如下:

javascript:s='';for (i=0;i
'};if(s!=''){document.write('
'+s+'
');void(document.close())}else{alert('No images!')}

2.显示网页中除图片的其他
复制代码 代码如下:

javascript:for(i=0;i

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('');document.body.innerText=s;


以上就是IE中直接运行显示当前网页中的图片 推荐的详细内容,更多请关注0133技术站其它相关文章!

赞(0) 打赏
未经允许不得转载:0133技术站首页 » JavaScript 教程