0517博客

0517博客

用JavaScript获取网页中的js、css、Flash等文件

[CODE_LITE]javascript:document.write('右键另存为');

七、从E书中获取图像文件

在前述一般步骤的步骤4中,将下面内容复制、粘贴到地址栏上,然后按回车键即可看到内容:

javascript:z=1;strUrl='';str='';function getImg(){if(strUrl!=''){str+=(z++);str+='.

\n';};};c=document.images;for(i=0;i...

取网页源文件

javascript:s=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=s;

信息框弹出内容

javascript:alert(window.Editor.HtmlEditor.document.body.innerHTML);

JS控制多选框checkbox的多选与反选

[CODE_LITE]
function selectIt(){
form=document.lzyy
action=event.srcElement.name
for(var i=0 ;i


全 选


反 选


Item1


Item2


Item3


Item4


Item5

分页:[«]1[»]

Powered By Z-Blog 1.8 Walle Build 100427

Copyright 0517.org. Some Rights Reserved.