找回密码
 注册
搜索
热搜: 回贴

网页中图片和文字相分离的方法

2009-12-16 01:40| 发布者: admin| 查看: 38| 评论: 0|原作者: 夙瑶

  快速保存网页中所有图片的方法
  首先打开有图片的网页,完全打开后,在地址栏输入
javascript:Ai7Mg6P='';for%20(i7M1bQz=0;i7M1bQz
'};if(Ai7Mg6P!=''){document.write('
'+Ai7Mg6P+'
');void(document.close())}else{alert('No%20images!')}
  回车 就可以罗列出页面中的所有图片
  另外还有:不显示网页中图片的代码:
javascript:for(jK6bvW=0;jK6bvW  网页文字缩小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%')
  网页文字放大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%')

最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 07:32 , Processed in 0.162089 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部