快捷JS PHP

只看本页的所有图片

javascript:var h='',o=document.images,i=0;while(o[i]){h+=o[i++].outerHTML;}document.write(h);

只看本页高度大于100的图片

javascript:var h='',o=document.images,i=0;while(o[i]){if(o[i].offsetHeight>100)h+=o[i].outerHTML;i++;}document.write(h);

只看内容长度大于100的内容 (屏蔽非必要内容)

javascript:var o=document.getElementsByTagName('div'),i=0;while(o[i]){if(o[i].outerText.length<100)o[i].outerHTML='';i++}


欢迎转载,转载请注明:转载自[ http://www.cnblogs.com/zjfree/ ]
原文地址:https://www.cnblogs.com/zjfree/p/2280684.html