SEARCH

How-To Geek

Ask the Readers: What Are Your Must-Have Bookmarklets?

Bookmarklets, tiny chunks of JavaScript packaged in a browser bookmark, offer uses a simple and cross-platform way to interact with the web. What are you must have bookmarklets?

Image courtesy of Marklets.com, a bookmarklet search engine.

You can use bookmarklets for everything from streamlining a page for easy reading to turning an otherwise boring website into a round of Angry Birds. This week we’re interested in hearing how you use bookmarklets to enhance your web browsing experience.

Sound off in the comments with your favorite bookmarklets (don’t forget to include a link for other readers to go grab a copy for themselves) and an explanation of how they improve your browsing experience. Check back on Friday for the What You Said roundup to add some new bookmarklets to your collection.

Jason Fitzpatrick is warranty-voiding DIYer and all around geek. When he's not documenting mods and hacks he's doing his best to make sure a generation of college students graduate knowing they should put their pants on one leg at a time and go on to greatness, just like Bruce Dickinson. You can follow him on if you'd like.

  • Published 02/8/12

Comments (12)

  1. Scott

    Without a doubt, this “force password save” tool has helped me avoid frustrations many times.

    javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+”%20″+what+((i==1)?””:”s”)}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed%20autocomplete=off%20from:\n"+n(ca,"form")+"\n"+n(cea,"form%20element")+"\n\nRemoved%20onsubmit%20from:\n"+n(cs,"form")+"\n\nAfter%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.")})();

  2. TechGeek01

    PageZipper:
    We have slow internet, so it helps greatly when the next page is loading while I’m reading the current one. Major time-saver.

    An HTML validator:
    I create my own websites, and HTML validator can help where Aptana Studio or Notepad++ can’t help me debug my website.

    A URL shortener:
    Saves lots of time if I don’t want to go through the hassle of shortening URLs through the Bitly website.

    A CSS reloader:
    This one is a work in progress. I cannot find one to do this, so I’m making one myself, but I’m stuck. If any of you HTG staff or readers could help, that’d be great. I need a bookmarklet to reload the page every two seconds or so. I can make one to do this, but it will only reload the page once, as the bookmarklet deactivates/becomes unused after a page refresh.

    A cached webpage editor:
    Not really helpful, but awesome to pull on a few friends and watch them think I can edit YouTube and Facebook, etc.

  3. Andy

    Send to Instapaper

  4. Ian

    PrintFriendly – turns web pages into more easily printed versions, allows saving as PDF too. http://www.printfriendly.com/

  5. Donny America

    Reddit Comment Collapser:

    javascript:$(‘div.commentarea%20>%20div.sitetable%20>%20div.thing%20>%20div.child’).each(function(){var%20t=$(this);if(t.children().length%20>%200)t.prev().find(‘ul.buttons’).append($(”).append($(‘toggle%20children‘).click(function(e){t.children(‘div’).toggle();e.preventDefault();})))}).children(‘div’).toggle()()

  6. scan2006

    Turn a website to black for easy nighttime viewing:
    javascript: (function(){ var newSS, styles=’* { background: black ! important; color: white !important } :link, :link * { color: # CCFF33 !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet(“javascript:'”+styles+”‘”); } else { newSS=document.createElement(‘link’); newSS.rel=’stylesheet'; newSS.href=’data:text/css,’+escape(styles); document.getElementsByTagName(“head”)[0].appendChild(newSS); } } )();

    And to turn it to white:

    javascript: (function(){ var newSS, styles=’* { background: white ! important; color: black !important } :link, :link * { color: #0000EE !important } :visited, :visited * { color: #551A8B !important }'; if(document.createStyleSheet) { document.createStyleSheet(“javascript:'”+styles+”‘”); } else { newSS=document.createElement(‘link’); newSS.rel=’stylesheet'; newSS.href=’data:text/css,’+escape(styles); document.getElementsByTagName(“head”)[0].appendChild(newSS); } } )();

  7. Meena Bassem

    Clip Converter for download videos mostly from youtube
    javascript:(function(){%20window.open(‘http://www.clipconverter.cc/?ref=bookmarklet&url=’+encodeURIComponent(location.href));%20})();

    Print this page (Downloads page as .pdf and makes it ready for printting)
    javascript:void(location.href=’http://www.sciweavers.org/iWeb2Print?url=’+escape(location.href)+’&r=’%20+%20Math.random())

  8. hombrelobo

    Send article to your email to read later:

    javascript:(function(){%20window.open(‘mailto:yourmail@yourdomain.com?SUBJECT=[toread]%20’+document.title+’&BODY=’+escape(location.href)+’%20%20%20’+getSelection());%20})();

    And my own bookmarklet combiner http://w-shadow.com/bookmarklet-combiner/?bookmarklet=2600

  9. DerLoony

    remove redirects:
    javascript:(function(){var%20k,x,t,i,j,p;%20for(k=0;x=document.links[k];k++){t=x.href.replace(/[%]3A/ig,':’).replace(/[%]2f/ig,’/’);i=t.lastIndexOf(‘http’);if(i>0){%20t=t.substring(i);%20j=t.indexOf(‘&’);%20if(j>0)t=t.substring(0,j);%20p=/https?\:\/\/[^\s]*[^.,;'”>\s\)\]]/.exec(unescape(t));%20if(p)%20x.href=p[0];%20}%20else%20if%20(x.onmouseover&&x.onmouseout){x.onmouseover();%20if%20(window.status%20&&%20window.status.indexOf(‘://’)!=-1)x.href=window.status;%20x.onmouseout();%20}%20x.onmouseover=null;%20x.onmouseout=null;%20}})();

  10. Thomas

    Gotta try “Clippable” to clean up a cluttered web page for printing. Formerly “Readability2.”

    http://brettterpstra.com/share/readability2.html

  11. fang5566

    Turen off the lighits when watching online video:
    javascript:(function(){function%20$(id){%20return%20document.getElementById(id);}%20/*%20TOTL%20list%20*/%20/*%20id%20way%20*/var%20websiteapi%20=%20$(‘dont-turn-off-the-lights’);if(websiteapi){$(‘dont-turn-off-the-lights’).style.zIndex%20=%201000;$(‘dont-turn-off-the-lights’).style.visibility%20=%20’visible';$(‘dont-turn-off-the-lights’).style.position%20=%20’relative';}/*%20HTML5%20video%20*/video%20=%20document.getElementsByTagName(“video”);%20for(var%20i%20=%200;%20i%20<%20video.length;%20i++%20)%20{if(video[i])%20{video[i].style.zIndex%20=%201000;video[i].style.visibility%20=%20'visible';video[i].style.position%20=%20'relative';}}%20/*%20class%20way%20*/div%20=%20document.getElementsByTagName("*");%20for(var%20i%20=%200;%20i%20<%20div.length;%20i++%20){if(div[i].className%20==%20("dont-turn-off-the-lights"))%20{div[i].style.zIndex%20=%201000;div[i].style.visibility%20=%20'visible';div[i].style.position%20=%20'relative';}}%20/*%20MAC%20&%20PC%20&%20LINUX%20*/%20var%20movieplayer%20=%20$('movie_player');if(movieplayer){$('movie_player').style.zIndex%20=%201000;$('movie_player').style.visibility%20=%20'visible';$('movie_player').style.position%20=%20'relative';}/*%20Youtube%20Channel,%20fixed%20show%20video%20*/var%20userplaylist%20=%20$('user_playlist_navigator');if(userplaylist)$('user_playlist_navigator').style.zIndex%20=%20'auto';var%20playnav%20=%20$('playnav-body');if(playnav)$('playnav-body').style.zIndex%20=%20'auto';var%20player%20=%20$('playnav-player');if(player)$('playnav-player').style.zIndex%20=%201000;/*%20HTML5%20*/%20var%20html5player%20=%20$('html5-player');if(html5player){$('html5-player').style.zIndex%20=%201001;$('html5-player').style.visibility%20=%20'visible';$('html5-player').style.position%20=%20'relative';}var%20youtubehtml5%20=%20$('video-player');if(youtubehtml5){$('video-player').style.zIndex%20=%201001;$('video-player').style.visibility%20=%20'visible';/*$('video-player').style.position%20=%20'relative';*/}%20%20/*%20Begin%20code%20TOTL%20*/%20var%20blackon%20%20=%20$('stefanvdlightareoff');if(blackon){document.body.removeChild(blackon);}else{var%20p%20=%20document.createElement('div');p.id%20=%20'stefanvdlightareoff';p.setAttribute('style',%20'opacity:%200.8;%20top:%200;%20left:%200;%20position:%20fixed;%20width:%20100%;%20height:%20100%;%20background-color:%20black;%20z-index:%20999;');document.body.appendChild(p);}})()

  12. Tommy L

    Zap. Clears away most all the junk/clutter from a webpage for easier reading.

    javascript:(function(){function%20R(w){try{var%20d=w.document,j,i,t,T,N,b,r=1,C;for(j=0;t=[%22object%22,%22embed%22,%22applet%22,%22iframe%22][j];++j){T=d.getElementsByTagName(t);for(i=T.length-1;(i+1)&&(N=T[i]);–i)if(j!=3||!R((C=N.contentWindow)?C:N.contentDocument.defaultView)){b=d.createElement(%22div%22);b.style.width=N.width;%20b.style.height=N.height;b.innerHTML=%22%22+(j==3?%22third-party%20%22+t:t)+%22%22;N.parentNode.replaceChild(b,N);}}}catch(E){r=0}return%20r}R(self);var%20i,x;for(i=0;x=frames[i];++i)R(x)})();%20javascript:(function(){var%20newSS,%20styles=’*%20{%20background:%20white%20!%20important;%20color:%20black%20!important%20}%20:link,%20:link%20*%20{%20color:%20#0000EE%20!important%20}%20:visited,%20:visited%20*%20{%20color:%20#551A8B%20!important%20}';%20if(document.createStyleSheet)%20{%20document.createStyleSheet(%22javascript:’%22+styles+%22’%22);%20}%20else%20{%20newSS=document.createElement(‘link’);%20newSS.rel=’stylesheet';%20newSS.href=’data:text/css,’+escape(styles);%20document.getElementsByTagName(%22head%22)[0].appendChild(newSS);%20}%20})();%20javascript:(function(){var%20d=document;%20function%20K(N,w)%20{%20var%20nn%20=%20d.createElement(w),%20C%20=%20N.childNodes,%20i;%20for(i=C.length-1;i>=0;–i)%20nn.insertBefore(C[i],nn.childNodes[0]);%20N.parentNode.replaceChild(nn,N);%20}%20function%20Z(t,w)%20{%20var%20T%20=%20document.getElementsByTagName(t),%20j;%20for%20(j=T.length-1;j>=0;–j)%20K(T[j],w);%20}%20Z(%22blink%22,%20%22span%22);%20Z(%22marquee%22,%20%22div%22);%20})();%20javascript:(function(){var%20H=[%22mouseover%22,%22mouseout%22,%22unload%22,%22resize%22],o=window.opera;%20if(document.addEventListener/*MOZ*/&&!o)%20for(j%20in%20H)document.addEventListener(H[j],function(e){e.stopPropagation();},true);%20else%20if(window.captureEvents/*NS4*/&&!o)%20{%20document.captureEvents(-1/*ALL*/);for(j%20in%20H)window[%22on%22+H[j]]=null;}%20else/*IE*/%20{function%20R(N){var%20i,x;for(j%20in%20H)if(N[%22on%22+H[j]]/*NOT%20TEXTNODE*/)N[%22on%22+H[j]]=null;for(i=0;x=N.childNodes[i];++i)R(x);}R(document);}})();%20javascript:(function()%20{%20var%20c,%20tID,%20iID;%20tID%20=%20setTimeout(function(){},%200);%20for%20(c=1;%20c<1000%20&&%20c<=tID;%20++c)%20clearTimeout(tID%20-%20c);%20iID%20=%20setInterval(function(){},1000);%20for%20(c=0;%20c<1000%20&&%20c<=iID;%20++c)%20clearInterval(iID%20-%20c);%20})();

Enter Your Email Here to Get Access for Free:

Go check your email!