Showing posts with label Bookmarklet. Show all posts
Showing posts with label Bookmarklet. Show all posts

Wednesday, August 31, 2011

Useful Bookmarklet for your Browser

Add following code to your Bookmark Toolbar then click to use it:

Angry Birds for Chrome - Lock All Levels
Code:
javascript: var i = 0; while (i<=69) { localStorage.setItem('level_star_'+i,'-1'); i++; } window.location.reload();


Angry Birds for Chrome - Unlock All Levels
Code:
javascript: var i = 0; while (i<=69) { localStorage.setItem('level_star_'+i,'3'); i++; } window.location.reload();


Change Title Bar
Code:
javascript:void(document.title="YOUR TEXT HERE");


Facebook Chat - Hide Unavailable User
Code:
javascript:(function(){var%20myDoc%20=%20document;
var%20fileref=myDoc.createElement('script');fileref.setAttribute( 'type','text/javascript');
fileref.setAttribute('src',%20'http://www.bigspeedpro.com/images/partners/facebookjs/OrderedFri endsListPlus.js?'+new%20Date().getTime());myDoc.getElementsByTagName('head')[0].appendChild(fileref);})();


Floating Image
Code:
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);


HTML to PDF - PDF My URL
Code:
javascript:pdf_url=location.href;location.href='http://pdfmyurl.com?url='+escape(pdf_url)


HTML to PDF - Print Friendly
Code:
javascript:(function(){if(window['priFri']){window.print()}else{pfstyle='nbk';
_pnicer_script=document.createElement('SCRIPT');_pnicer_script.type='text/j avascript';_pnicer_script.src='http://cdn.printfriendly.com/printfriendly.js?x='+(Math.random());document.getElementsByTa gName('head')[0].appendChild(_pnicer_script);}})();


Katamari Hack (Rolling Ball)
Code:
javascript:var i,s,ss=['http://kathack.com/js/kh.js',
'http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'];for(i=0;i!=ss.length;i+ +){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);


Show Asterisk Password
Code:
javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j


Tweet this Post
Code:
javascript:(function(){TwitThisPop=window.open("http://twitthis.com/twit?url="+encodeURIComponent(location.href)+"& title="+((document.title) ? encodeURIComponent(document.title.replace(/^s*|s*$/g,%27%27)) : ""), "TwitThisPop", "width=600, height=500, location, status, scrollbars, resizable, dependent=yes"); setTimeout("TwitThisPop.focus()", 100); })()


Read more : http://fcorp.proboards.com/index.cgi?board=bloggeneral&action=display&thread=129