⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wwwtools.ini

📁 是一个很好的编辑器
💻 INI
字号:
; author: Karel Pavelka, http://www.webjob.wz.cz/pspad/
[JSTools]
CSS on/off (IE&&MZ)=javascript:var%20i=0;if(document.styleSheets.length>0){cs=!document.styleSheets[0].disabled;for(i=0;i<document.styleSheets.length;i++)%20document.styleSheets[i].disabled=cs;};void(cs=true);
Toggle Image/Alt (IE)=javascript:if(document.images.length>0){(function(){function%20to(c){var%20a,k;a=new%20Array;for(k=0;k<c.length;++k)a[k]=c[k];return%20a;}var%20im,img,xt;im=to(document.images);for(var%20i=0;i<im.length;++i){img=im[i];e=document.createElement('span');void(e.style.background='#f5deb3');void(e.style.color='navy');if(img.attributes.alt.specified!=true){xt=document.createTextNode('NoAlt!')}else{xt=document.createTextNode('\"'+img.alt+'\"')}e.appendChild(xt);img.parentNode.replaceChild(e,img)}})();}else{history.go()}
Disable Plugins (IE)=javascript:(function(){function%20R(w){try{var%20d=w.document,j,i,t,T,N,b,r=1,C;for(j=0;t=["object","embed","applet","iframe"][j];++j){T=d.getElementsByTagName(t);for(i=T.length-1;(i+1)&&(N=T[i]);--i)if(j!=3||!R((C=N.contentWindow)?C:N.contentDocument.defaultView)){b=d.createElement("div");b.style.width=N.width;%20b.style.height=N.height;b.innerHTML="<del>"+(j==3?"third-party%20"+t:t)+"</del>";N.parentNode.replaceChild(b,N);}}}catch(E){r=0}return%20r}R(self);var%20i,x;for(i=0;x=frames[i];++i)R(x)})()
Linearize - Remove Tables (IE&&MZ)=javascript:(function(){var%20H=[],Y={TABLE:1,TR:1,TD:1,TH:1,CAPTION:1,DIV:1},d=[],p;%20function%20R(N){var%20a,x,i,t;%20if(t=N.tagName){%20t=t.toUpperCase();%20for%20(i=0;a=H[i];++i)if(N.getAttribute(a))N.removeAttribute(a);%20for(i=0;x=N.childNodes[i];++i)R(x);%20if%20(Y[t])d.push(N);%20}%20}%20R(document.documentElement);%20for%20(i=0;N=d[i];++i)%20{%20p=N.parentNode;%20while(N.firstChild)p.insertBefore(N.firstChild,N);%20p.removeChild(N);%20}%20})()
-=-
Show Style Sheet (IE)=javascript:var%20a=document.styleSheets;var%20s='<div%20style=\'font:x-small%20verdana\'><h1>Style%20sheet%20info%20for%20'+location.href+'</h1>';for%20(i=0;i<a.length;i++){var%20ss=a[i];s+='<h2>Style%20Sheet%20'+(i+1)+':%20'+ss.href+'</h2>';s+='<h2>Media:%20'+ss.media;s+='%20|%20Title:%20'+ss.title+'</h2>';s+='<h3>Rules:</h3>'+ss.cssText;s+='<hr>';}var%20a=s.split('\n');s=a.join('<br%20/>');s=s.toLowerCase()+'</div>';var%20cw=window.open('',%20'cw',%20'');cw.document.open();cw.document.write(s);cw.document.close();
View Partial Source (IE)=javascript:q=(document.frames.length?'':document.selection.createRange().htmlText);for(i=0;i<document.frames.length;i++){q=document.frames[i].document.selection.createRange().htmlText;if(q!='')break}if(q)t=(q);s=(q.replace(/</gi,'&lt;').replace(/>/gi,'&gt;').replace(/\n/gi,'<br>\n'));var%20m=window.open('',%20'm','');m.document.open();m.document.write('<h2>Selection</h2><div>'+t+'</div><h2>Source%20Code</h2><pre%20style=\'background-color:#f5f5dc\'>'+s+'</pre>');m.document.close()
View Generated Source (IE)=javascript:(function(){%20function%20htmlEscape(s){s=s.replace(/&/g,'&amp;');s=s.replace(/>/g,'&gt;');s=s.replace(/</g,'&lt;');return%20s;}%20x=window.open();%20x.document.write('<pre>'%20+%20htmlEscape('<html>\n'%20+%20document.documentElement.innerHTML%20+%20'\n</html>'));%20x.document.close();%20})();
Save as HTML (IE)=javascript:if(document.all)%7Bvoid(document.execCommand("SaveAs"))%7Delse%7Balert('Only%20for%20MSIE%204+');%7D
-=-
Show DIVs (IE&&MZ)=javascript:if(frames.length>1)alert('This%20bookmarklet%20does%20not%20work%20with%20frames.');else%20var%20t=document.getElementsByTagName('div');if(t.length=='')alert('No%20Div%20elements');else%20for(i=0;i<t.length;i++){void(t[i].style.padding='5px;');b=i+1;h=t[i].innerHTML;void(t[i].innerHTML='<p%20style=\'color:red;font-weight:bold;\'>'+b+'</p>'+h);void(t[i].style.border='1px%20dashed%20red');}
Table Cell Order (IE&&MZ)=javascript:var%20b=0;t=document.getElementsByTagName('*');{for(i=0;i<t.length;i++){if(t[i].tagName.toLowerCase()=='th'||t[i].tagName.toLowerCase()=='td'){b+=1;h=t[i].innerHTML;void(t[i].innerHTML='<span%20style=\'color:navy;font-weight:bold;background-color:#ffefd5;\'>'+b+'</span><br%20/>'+h);void(t[i].style.border='1px%20dashed%20red');}}}if(b==0)alert('No%20th%20or%20td%20Elements%20Used');
Show Images (IE)=javascript:var%20z=0,tag=new%20Array('img');for(n=0;n<tag.length;n++){t=document.getElementsByTagName(tag[n]);{for(i=0;i<t.length;i++){{var%20l;if(t[i].attributes.alt.specified)l='alt="'+t[i].alt+'"';else%20l='<strong%20style="color:red">NoAlt!</strong>'}h=t[i].outerHTML;void(t[i].outerHTML='<span%20style="color:navy;font:x-small%20arial;background:#f5deb3;"><b>&lt;'+tag[n]+'%20'+l+'&gt;</b></span>%20'+h);void(t[i].style.padding='3px',t[i].style.border='1px%20solid%20red');if(h!='')void(z=z+1);}}}if(z==0)alert('No%20Images');
AccessKeys=javascript:var%20z=0,tag=new%20Array('a','input','textarea','object','button','select','applet','embed');for(n=0;n<tag.length;n++){void(t=document.getElementsByTagName(tag[n]));for(i=0;i<t.length;i++){h=t[i].outerHTML;if(t[i].accessKey>""){void(t[i].outerHTML='<span%20style=\'color:navy;font:small%20bold;background-color:#f5deb3\'><strong>%20Accesskey%20('+t[i].accessKey+')%20</strong></span>%20'+h);if(h!='')z=z+1;}}}if(z==0)alert('No%20Accesskey%20Attributes%20Found');
Frame Borders =javascript:var%20theEls=document.getElementsByTagName('frame');if(theEls.length==0){alert('No%20Frames%20Found')}else{for(i=0;i%3CtheEls.length;i++)%7Bvoid(theEls%5Bi%5D.style.border='dashed%203px%20#dc143c');void(theEls%5Bi%5D.style.margin='5px')%7D}
Show Other Element(s) (IE&&MZ)=javascript:void(elName=prompt('Which%20elements?%20input,%20p,%20span%20...',''));void(brdrClr=prompt('What%20color?%20green,%20black,%20white...','red'));if(elName){theEls=document.getElementsByTagName(elName);if(theEls.length!=0){for(i=0;i%3ctheEls.length;i++){void(theEls[i].style.border='solid%202px%20red');void(theEls[i].style.borderColor=brdrClr)}}else{alert('no%20'+elName+'%20elements%20%20found')}}
-=-
Link List (IE)=javascript:var%20l=document.links.length;var%20s='';for%20(i=0;i<l;i++){var%20lk=document.links[i];s+='<tr>';s+='<td>'%20+%20lk.innerHTML%20+%20'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -