Home > Web Front-end > JS Tutorial > body text

How to quickly save all images in a web page_JavaScript

WBOY
Release: 2016-05-16 19:29:11
Original
1709 people have browsed it

Sometimes I see beautiful pictures on a web page, but it’s too slow to save them one by one. I found this method today and tested it. Ha, it’s so cool~~
First open the web page with the pictures, and after it is fully opened, Enter in the address bar:

程序代码 Program code

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


Enter! Haha, you can list all the pictures on the page :)

In addition, there is also: code for not displaying pictures on the web page:
程序代码 Program code

javascript:for(jK6bvW=0;jK6bvW


Web page text reduced by 0.5 times:
程序代码 Program code

javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z )-50) '%');}else s.setAttribute('zoom','50%')


Zoom in 1.5 times:
程序代码 Program code

javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z ) 50) '%');}else s.setAttribute('zoom','150%')
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template