AO3/DW/LJ/Pinboard keyboard shortcuts
Feb. 23rd, 2014 05:36 pmThis occupied most of my day today*:
http://random.fangirling.net/fun/ao3/web_keyboard_shortcuts.user.js
It's a userscript (Greasemonkey, Tampermonkey, etc) that runs on Archive of Our Own, Dreamwidth, LiveJournal and Pinboard, and lets you navigate up and down posts with the j and k keys. If you hit enter, it will open the current post in a background tab**.
It loads a few external scripts: jQuery (because Pinboard doesn't include it), Mousetrap (for easy keyboard shortcuts) and scrollTo (because I couldn't be bothered writing it myself).
Not thoroughly tested, which is why I haven't posted it to userscripts.org or anything yet. Let me know if you try it out!
* Most of the time was spent messing around with keyboard shortcut libraries. Ugh.
** I copied the code for this from https://userscripts.org/scripts/review/179969
http://random.fangirling.net/fun/ao3/web_keyboard_shortcuts.user.js
It's a userscript (Greasemonkey, Tampermonkey, etc) that runs on Archive of Our Own, Dreamwidth, LiveJournal and Pinboard, and lets you navigate up and down posts with the j and k keys. If you hit enter, it will open the current post in a background tab**.
It loads a few external scripts: jQuery (because Pinboard doesn't include it), Mousetrap (for easy keyboard shortcuts) and scrollTo (because I couldn't be bothered writing it myself).
Not thoroughly tested, which is why I haven't posted it to userscripts.org or anything yet. Let me know if you try it out!
* Most of the time was spent messing around with keyboard shortcut libraries. Ugh.
** I copied the code for this from https://userscripts.org/scripts/review/179969