Saturday, 7 August 2010

Useful Bookmarklets

Bookmarklets work in all modern browsers.
Create a new bookmark and paste the bookmarklet JavaScript into the address field. You activate the bookmarklet by clicking on it.

Here are a few bookmarklets I use. I got them from www.marklets.com


KeepTube is a video ripper for most popular video sites.

javascript:document.location='http://keep-tube.com/?url='+escape(window.location);


ClipNabber is similar. Use it if KeepTube runs into problems.

javascript:void((function(){%20var%20e=document.createElement('script');%20e.setAttribute('type','text/javascript');%20e.setAttribute('src','http://clipnabber.com/scripts/bookmarklet.js');%20document.body.appendChild(e)%20})())


Dirpy is for when you want to rip YouTube audio. You can clip part or all of the audio with the simple interface.

javascript:%20/*_Dirpy_YouTube_Bookmarklet_*/(function(){%20var%20toks%20=%20window.location.href.split('v=',2);var%20videoid%20=%20'';if%20(%20toks.length%20>=%202%20)%20{%20videoid%20=%20toks[%201%20].substring(%200,%2011%20)%20;%20}%20if%20(%20videoid%20!=%20''%20)%20{%20window.open(%20'http://dirpy.com/studio/'%20+%20videoid%20)%20;%20}%20else%20{%20alert(%20'Couldn\'t%20gather%20a%20YouTube%20video%20id%20to%20send%20to%20Dirpy%20Studio.%20Are%20you%20on%20a%20YouTube%20video%20page?'%20)%20;%20}%20})()


Bookmaplet brings up a small window with Google Maps displaying the location when you select an address from a block of text.

javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://www.bookmaplet.com/scripts/bm.js');document.body.appendChild(e)})())


Make PDF generates a PDF file from the page you're viewing.

javascript:pdf_url=location.href;location.href='http://pdfmyurl.com?url='+escape(pdf_url)


Edit Website lets you change the way the current page appears, temporarily at least.

javascript:document.body.contentEditable%20=%20'true';%20document.designMode='on';%20void%200


Search Site brings up a small window to perform a Google search just for the site you're on.

javascript:(function(){var%20s=document.createElement('script');s.src='http://www.phpied.com/files/searchsite/searchsite.js';document.getElementsByTagName('head')[0].appendChild(s);})()


PDF Newspaper generates a beautifully laid out PDF of the page or article you're reading, including all sections/pages of the article.

javascript:location.href='http://fivefilters.org/pdf-newspaper/makepdf.php?title=Your+Personal+Newspaper&feed='+escape('http://fivefilters.org/content-only/makefulltextfeed.php?html=true&url='+escape(document.location.href));


Goo.gl automatically creates a shortened URL link for you to copy.

javascript:window.googl_callback%20=%20function(response){if(response.error_message){alert('An%20error%20occured:%20'%20+%20response.error_message);}else{alert(response.short_url);}};%20var%20s%20=%20document.createElement('script');%20s.src%20=%20'http://ggl-shortener.appspot.com/?url='%20+%20encodeURIComponent(window.location.href)%20+%20'&jsonp=googl_callback';%20void(document.body.appendChild(s));

1 comment:

BR said...

I like the PDF tools.