Script Summary: A script which allows you to navigate webcomics with the arrow keys.
The script is currently only set up for Gunnerkrigg Court and Questionable Content, but adding support for new webcomics is easy.
Just add two lines for each webcomic. First, every new webcomic you add needs a new include line. The script uses the comic number from the URL, so we include every page for a specific comic with the comic number in the URL. For QC, it looks like this: http://questionablecontent.net/view.php?comic=*
Next, add a blank line above //Add support for more webcomics here.
Copy one of the existing comic lines as a template, then replace the fields as described below. We'll start with the QC line.
comics['questionablecontent.net'] = Array("http://questionablecontent.net/view.php?", "comic");
Replace questionablecontent.net in the first area with the domain of the site you are adding. (The part after http://, but before any of the other forward slashes.)
Next, replace http://questionablecontent.net/view.php? with everything in your comic's URL from the start to the question mark.
Finally, replace comic with whatever the comic number parameter is for your comic.
The script won't work for comics like xkcd without some special modification, as they don't pass the comic number in the same way.
At some point I'll modify the code to work for comics that use dates in the URL or paths like xkcd too.



