Current W-A-S-D patch for manga reader may feel nice for some people, but it has a drawback: The keys are being checked without modifiers, so on some browsers (i.e. Firefox), you can no longer press <C-w> to close tab, because it's been bound to move view.
That can be easily patched:
Within this code...
$(document).keydown(function(ev) {
if (!keyHold) {
// left, a
if (ev.keyCode == 37 || ev.keyCode == 65) {
Change this:
$(document).keydown(function(ev) {
if (!keyHold[b] && !ev.ctrlKey && !ev.altKey[/b]) {
// left, a
if (ev.keyCode == 37 || ev.keyCode == 65) {
BTW W-A-S-D is boring, a vim-like H-J-K-L would be geekly nicer!