WEBDEVELOPMENT
Par vcelku zajimavych kousku uzitecnych pri brouzdani webem
View CSS
javascript:s=document.getElementsByTagName('STYLE');%20ex=document.getElementsByTagName('LINK');%20d=window.open().document;%20/*set%20base%20href*/d.open();d.close();%20b=d.body;%20function%20trim(s){return%20s.replace(/^\s*\n/,%20'').replace(/\s*$/,%20'');%20};%20function%20iff(a,b,c){return%20b?a+b+c:'';}function%20add(h){b.appendChild(h);}%20function%20makeTag(t){return%20d.createElement(t);}%20function%20makeText(tag,text){t=makeTag(tag);t.appendChild(d.createTextNode(text));%20return%20t;}%20add(makeText('style',%20'iframe{width:100%;height:18em;border:1px%20solid;'));%20add(makeText('h3',%20d.title='Style%20sheets%20in%20'%20+%20location.href));%20for(i=0;%20i<s.length;%20++i)%20{%20add(makeText('h4','Inline%20style%20sheet'%20%20+%20iff('%20title="',s[i].title,'"')));%20add(makeText('pre',%20trim(s[i].innerHTML)));%20}%20for%20(i=0;%20i<ex.length;%20++i)%20{%20rs=ex[i].rel.split('%20');%20for(j=0;j<rs.length;++j)%20if%20(rs[j].toLowerCase()=='stylesheet')%20{%20add(makeText('h4','link%20rel="'%20+%20ex[i].rel%20+%20'"%20href="'%20+%20ex[i].href%20+%20'"'%20+%20iff('%20title="',ex[i].title,'"')));%20iframe=makeTag('iframe');%20iframe.src=ex[i].href;%20add(iframe);%20break;%20}%20}%20void%200
View JS
javascript:s=document.getElementsByTagName('SCRIPT');%20d=window.open().document;%20/*140681*/d.open();d.close();%20b=d.body;%20function%20trim(s){return%20s.replace(/^\s*\n/,%20'').replace(/\s*$/,%20'');%20};%20function%20add(h){b.appendChild(h);}%20function%20makeTag(t){return%20d.createElement(t);}%20function%20makeText(tag,text){t=makeTag(tag);t.appendChild(d.createTextNode(text));%20return%20t;}%20add(makeText('style',%20'iframe{width:100%;height:18em;border:1px%20solid;'));%20add(makeText('h3',%20d.title='Scripts%20in%20'%20+%20location.href));%20for(i=0;%20i<s.length;%20++i)%20{%20if%20(s[i].src)%20{%20add(makeText('h4','script%20src="'%20+%20s[i].src%20+%20'"'));%20iframe=makeTag('iframe');%20iframe.src=s[i].src;%20add(iframe);%20}%20else%20{%20add(makeText('h4','Inline%20script'));%20add(makeText('pre',%20trim(s[i].innerHTML)));%20}%20}%20void%200
Color Chart
javascript:t='';c=new%20Array('00','33','66','99','CC','FF');for(i=0;i<6;i++){t+='<table%20width=100%>';for(j=0;j<6;j++){t+='<tr>';for(k=0;k<6;k++){L=c[i]+c[j]+c[k];t+='<td%20bgcolor='+L+'>'+L}t+='</tr>'}t+='</table>'};with(document){write(t);void(close())}
Calculator
javascript:expr=prompt('Formula...(eg:%20%202*3%20+%207/8%20)','');if(expr){with(Math){evl=parseFloat(eval(expr))};if(isNaN(evl)){alert('Not%20a%20number!')}else{void(prompt('Result:',evl))}}else{void(null)}
Send photo to Imageshack
javascript:t='';for(var%20n=0;n<document.images.length;n++){t+='<a%20href=/%20onclick=\'document.f.url.value=document.images['+n+'].src;document.f.submit();return%20false;\'><img%20border=0%20src='+document.images[n].src+'></a>%20'};if(t!=''){document.write('<html><head><title>ImageShack%C2%AE</title><link%20rel=stylesheet%20href=http://imageshack.us/img/style-def.css%20type=text/css></head><body%20bgcolor=#F7F7F7><table%20border=1%20cellpadding=5%20cellspacing=0%20class=table_decoration%20align=center%20width=760><tr><td><iframe%20src=http://imageshack.us/adsframe2.php%20scrolling=no%20allowtransparency=true%20frameborder=0%20width=700%20height=300><a%20href=http://www.getfirefox.com>Get%20FireFox!</a></iframe><p>ImageShack%20has%20found%20the%20following%20images%20on%20this%20page.</p><p>Click%20on%20any%20image%20to%20host%20it%20on%20ImageShack,%20or%20press%20the%20back%20button%20to%20return%20to%20the%20previous%20page.</p><form%20name=f%20action=http://imageshack.us/transload.php%20method=post><input%20type=hidden%20name=url></form>'+t+'</td></tr></table></body></html>');void(document.close())}else{alert('There%20are%20no%20images%20to%20host%20on%20this%20page.')}
Send Photo to Flickr
javascript:t='';for(var%20n=0;n<document.images.length;n++){t+='<a%20href=/%20onclick=\'document.f.url.value=document.images['+n+'].src;document.f.submit();return%20false;\'><img%20border=0%20src='+document.images[n].src+'></a><br>'};if(t!=''){document.write('<p>Click%20an%20image%20to%20add%20it%20to%20your%20photostream</p><form%20name=f%20action=http://www.flickr.com/tools/sendto.gne%20method=get><input%20type=hidden%20name=url></form>'+t+'');void(document.close())}else{alert('No%20images!')}
Open Google PopUp (parametry si nastavte dle libosti)
javascript:(function(){javascript:window.open('http://www.google.com/','Google','width=600,height=600,location=no,toolbar=no,status=no,menubar=no,hotkeys=no,directories=no,resizable=yes,scrollbars=yes,screenX='+(screen.availWidth-0)+',screenY='+0);})();
A na zaver opravdova lahudka Mouseover DOM Inspector
javascript:prefFile='';void(z=document.body.appendChild(document.createElement('script')));void(z.language='javascript');void(z.type='text/javascript');void(z.src='http://slayeroffice.com/tools/modi/v2.0/modi_v2.0.js');void(z.id='modi');