Verze 2.2.9 (Developers version)Tahle verze obsahuje menu polozku Extra's kde si muzete naimportovat rozlicne javascriptove snippety. Pro predstavu prikladam par ukazek.
1.) Hide Images (Skryt Obrazky) Docasne skryje vsechny obrazky na webu kde se nachazite
do pole URL vlozit:
javascript:void('hide%20images','puremango.co.uk');for(i=0;i<document.images.length;i++){void(document.images[i].style.display='none')}void(document.body.style.background='none');
2.) Show Images (Zobrazit Obrazky) Opak predeslyho
do pole URL vlozit:
javascript:void('show%20images','puremango.co.uk');for(i=0;i<document.images.length;i++){void(document.images[i].style.display='inline')};
3.) Show table Borders (Zobrazit kompletni tabulkovej layout webu
do pole URL vlozit:
javascript:void('show%20tables','puremango.co.uk');x=document.getElementsByTagName(%22table%22);for(i=0;i<x.length;i++){void(x[i].border=1)};
4.) Hide Table Borders (skryt tabulkovej layout)
do pole URL vlozit:
javascript:void('hide%20tables','puremango.co.uk');x=document.getElementsByTagName(%22table%22);for(i=0;i<x.length;i++){void(x[i].border=0)};
5. Form Editor (zajimava pomucka, editor otevre formular ktery se nachazi na strance a moznost dalsich kroku,
doporucuji vyzkouset)
do pole URL vlozit:
javascript:void(w=window.open(%22%22,%22w%22,%22width=500,height=400,resizable,scrollbars=yes,no%22));w.document.write(%22<title>Form%20Info</title><st%22+%22yle>u{cursor:hand;cursor:pointer;}td{font-family:verdana;font-size:12px;}td.fheader{font-weight:bold;}</style><table%20width='360'><tr><td%20class='fheader'>#</td><td%20class='fheader'>Name</td><td%20class='fheader'>Action</td><td%20class='fheader'>Method</td><td%20class='fheader'>Elements</td><td>%20</td></tr>%22);for(i=0;i<document.forms.length;i++){F=document.forms[i];void(w.document.write(%22<tr><td><%22+%22u%20onClick=x(%22+i+%22);self.blur();>%22+i+%22</u%22+%22></td><td><%22+%22u%20onClick=x(%22+i+%22);self.blur();>%22+F.name+%22</u%22+%22></td><td><%22+%22u%20onClick=x(%22+i+%22);self.blur();>%22+F.action+%22</u%22+%22></td><td><%22+%22u%20onClick=x(%22+i+%22);self.blur();>%22+F.method+%22</u%22+%22></td><td><%22+%22u%20onClick=x(%22+i+%22);self.blur();>%22+F.elements.length+%22</u%22+%22></td><td><input%20type='button'%20onClick='window.opener.document.forms[%22+i+%22].submit();'%20value='submit'></td></tr>%22))};w.document.write(%22</table>%22);w.document.write(%22<scr%22+%22ipt>function%20y(){if(!confirm('Browse%20Another%20Form?')){self.close();}}function%20x(formNum){void(w2=window.open('','w2','width=400,height=400,resizable,scrollbars=yes,no'));f=window.opener.document.forms[formNum];if(f){El%20=%20f.elements;w2.document.write('<st'+'yle>textarea{border:%201px%20solid%20black;}td{font-family:verdana;font-size:12px;}td.fheader{font-weight:bold;}</style><table><tr><td%20class=fheader>Form%20Name:</td><td%20colspan=2>'+f.name+'</td></tr><tr><td%20class=fheader>Form%20Action:</td><td%20colspan=2>'+f.action+'</td></tr><tr><td%20colspan=3>%20</td></tr><tr><td%20colspan=3%20class=fheader>Elements:</td></tr><tr><td%20class=fheader>name</td><td%20class=fheader>type</td><td%20class=fheader>value</td></tr>');for(i=0%20;%20i<El.length%20;%20i++){w2.document.write('<tr><td>'+El[i].name+'</td><td>'+El[i].type+'</td><td><textarea%20onKeyUp=window.opener.window.opener.document.forms['+formNum+'].elements['+i+'].value=this.value>'+El[i].value+'</text'+'area></td></tr>');}w2.document.write('</table><scr'+'ipt>window.onbeforeunload=window.opener.y;</scr'+'ipt>');}}</script>%22);
6.) Split horizontally - Horizontalni split prohlizeneho webu
do URL vlozit:
javascript:document.write('%3CHTML%3E%3CHEAD%3E%3C/HEAD%3E%3CFRAMESET%20ROWS=\'50%25,*\'%3E%3CFRAME%20SRC='%20+%20location.href%20+%20'%3E%3CFRAME%20SRC='%20+%20location.href%20+%20'%3E%3C/FRAMESET%3E%3C/HTML%3E')
7.)Split vertically - Vertikalni split prohlizeneho webu
do URL vlozit:
javascript:document.write('%3CHTML%3E%3CHEAD%3E%3C/HEAD%3E%3CFRAMESET%20COLS=\'50%25,*\'%3E%3CFRAME%20SRC='%20+%20location.href%20+%20'%3E%3CFRAME%20SRC='%20+%20location.href%20+%20'%3E%3C/FRAMESET%3E%3C/HTML%3E')
8.) Editor -
Doporucuji zatahneme si nejaky text na webu a otevreme v editoru, nasledne ulozime jako
txt - Save As a pak html prepiseme na
txtdo URL vlozit:
javascript:s=document.selection?document.selection.createRange().text:window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection():'';pwin=window.open('','_blank','menubar=yes,scrollbars=yes,location=no,height=550,width=700');with(pwin.document){if(s){write(s);close();}body.contentEditable='true';designMode='on';}if(window.focus){pwin.focus();setTimeout('pwin.focus()',125)};void(0);
9.) Dual View
do url vlozit:
javascript:A14nH=location.href;L3f7=prompt('Choose%20File%201',A14nH);R1Gh7=prompt('Choose%20File%202',L3f7);if(L3f7&&R1Gh7){Fr4Q='<frameset%20cols=\'*,*\'>\n<frame%20src=\''+L3f7+'\'/>';Fr4Q+='<frame%20src=\''+R1Gh7+'\'/>\n';Fr4Q+='</frameset>';with(document){write(Fr4Q);void(close())}}else{void(null)}
10.) Images + pixel tato funkce nam zobrazi vsechny obrazky + jejich velikost v pixelech
do URL vlozit:
javascript:n='';for(i=0;i%3Cdocument.images.length;i++)%7Bn+='%3Cimg%20src='+document.images%5Bi%5D.src+'%3E%20'+document.images%5Bi%5D.width+'x'+document.images%5Bi%5D.height+'%3Cbr%3E%3Cbr%3E'%7D;if(n!='')%7Bdocument.write('%3Cp%20style=font-size:11px;font-family:verdana,sans;%3E'+n+'%3C/p%3E');void(document.close())%7Delse%7Balert('i%20see%20no%20images')%7D
Samozrejme muzete pouzit sve vlastni funkce, mnozstvi funkci najdete take po internetu.
https://addons.mozilla.org/en-US/firefox/addons/versions/14028#version-2.2.9