Tumblr Hack: Key Shortcut to Next Post

Update: coconutbras just informed me that Tumblr already has this feature using ‘j’ and ‘k’.  I guess I never got the memo from David.  Anyways, it was fun creating a bookmarklet, so 20 minutes well spent.

I got bored and made a Tumblr Bookmarklet to add key shortcuts for navigating posts, just like in Google Reader.  Hit ‘n’ to go to the next post and ‘p’ to go to the previous post.

Just paste this code into your address bar while on the dashboard. For something more permanent, save this code as the URL of a bookmark and click it whenever you are browsing Tumblr!

javascript:(function(){p=$('posts').firstDescendant();document.observe('keydown',function(e){k=e.keyCode||e.which;if(k=='78'){p=p.next()||p;Effect.ScrollTo(p,{duration:'0.2',offset:-8})}else if(k=='80'){p=p.previous()||p;Effect.ScrollTo(p,{duration:'0.2',offset:-8})}})})();void 0


  1. roads2roam reblogged this from kevinnuut
  2. brookespoint said: Isn’t there a key shortcut for this already? ( ‘j’ and ‘k’ )
  3. coltography said: EPICCCCC sosososo epic
  4. evanwalsh said: N & P are so far apart, it makes the experience much more complicated.
  5. kevinnuut posted this

portrait