// @name xkcd keyboard nav
// @namespace https://github.com/adrianiainlam
// @description Navigate xkcd with your keyboard
// @name xkcd keyboard nav
// @namespace https://github.com/adrianiainlam
// @description Navigate xkcd with your keyboard
var navList = document.getElementsByClassName("comicNav")[0].children;
if(!e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
switch(e.key) {
var navList = document.getElementsByClassName("comicNav")[0].children;
if(!e.altKey && !e.ctrlKey && !e.metaKey && !e.shiftKey) {
switch(e.key) {