25 brilliant bookmarklets to boost your browsing
Boost your productivity with these simple JavaScript applets
Handy shortcuts
Perhaps the best bookmarklets are those that work with other web sites to deliver powerful features at a click.
Capture screen grab
javascript:(function(){var%20b=document.body,e=document.documentElement,h=100,s=self,y=0,w=window;if(s.pageYOffset)y=s.pageYOffset;else%20if(e%20&&%20e.scrollTop)y=e.scrollTop;else%20if(b)y=b.scrollTop;if(w.innerHeight%20&&%20w.scrollMaxY)h=w.innerHeight+w.scrollMaxY;else%20if(b.scrollHeight%20>%20b.offsetHeight)h=b.scrollHeight;else%20h=b.offsetHeight;w.open('http://kwout.com/grab?address='+encodeURIComponent(location.href)+'&scroll='+(y/h));})();
See Kwout.com for more.
Do you ever need to take screen grabs of web pages, say? Don't launch a graphics editor - this bookmarklet and kwout.com deliver everything you need.
Short URL
javascript:var%20d=document,w=window,enc=encodeURIComponent,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),s2=((s.toString()=='')?s:('%22'+enc(s)+'%22')),f='http://bit.ly/',l=d.location,p='?v=3&u='+enc(l.href)%20+'&s='+enc(d.title)+'%20'+s2,u=f+p;try{if(!/^(.*\.)?tumblrzzz[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a%20=function(){if(!w.open(u))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();}void(0)
(Source: labnol.org)
You don't have to waste time manually visiting a site like TinyURL, then using copy and paste to create a shorter address. This bookmarklet will give you a simpler URL for the current page at a single click.
Translate
javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|en&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|en&tbb=1&ie='+e;};
(Source: labnol.org)
Get daily insight, inspiration and deals in your inbox
Sign up for breaking news, reviews, opinion, top tech deals, and more.
IE8 adds new features to help translate web pages, but it's still quicker to use this bookmarklet, which uses Google to automatically translate the current page to English.
Print what you like
javascript:(function(){if(window['ppw']&&ppw['bookmarklet']){ppw.bookmarklet.toggle();}else{window._pwyl_home="http://www.printwhatyoulike.com/";_pwyl_bmkl=document.createElement('script');_pwyl_bmkl.setAttribute('type','text/javascript');_pwyl_bmkl.setAttribute('src',_pwyl_home+'static/compressed/pwyl_bookmarklet_10.js');_pwyl_bmkl.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(_pwyl_bmkl);}})();
(Source: labnol.org)
And PrintWhatYouLike.com offers an easy way to reformat web pages and ensure you only print (or save) the content you need.
That's the last of our browsing bookmarklets, but don't worry, if we've whetted your appetite and you're hungry for more then there are plenty available online.
The Bookmarklets Directory is a good place to start, samrod has a very interesting collection, Bookmarklets.com hasn't been updated for a while but is still useful, and LifeHacker has covered some powerful bookmarklets in the past. Explore these resources to find out what works for you, and let us know about any other favourite bookmarklets you use in the comments.
------------------------------------------------------------------------------------------------------
Mike is a lead security reviewer at Future, where he stress-tests VPNs, antivirus and more to find out which services are sure to keep you safe, and which are best avoided. Mike began his career as a lead software developer in the engineering world, where his creations were used by big-name companies from Rolls Royce to British Nuclear Fuels and British Aerospace. The early PC viruses caught Mike's attention, and he developed an interest in analyzing malware, and learning the low-level technical details of how Windows and network security work under the hood.