imgur scroll to gallery images keyboard shortcuts

use ↑/↓ to scroll to the next/previous image within an imgur gallery

Autor
Ryan Porath
Instalări zilnice
0
Total instalări
309
Rating-uri
2 0 1
Versiune
0.13
Creat
13-06-2015
Actualizat
16-06-2015
Licență
N/A
Se aplică pe

This userscript enables keyboard shortcuts for imgur to scroll directly to the prev/next images in the gallery.

up arrow = scroll to previous image
down arrow = scroll to next image, or load the rest of the gallery if it has more than 10 images

I made this script because using pg up/pg dn or the mousewheel always seems to result in the image not really being where I want it to be on the screen.

update: changed hotkeys from ,/. to arrow keys
update: fixed moving between pages, and home/end
update: delay before updating the album size