imgur scroll to gallery images keyboard shortcuts

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

Автор
Ryan Porath
Установок в день
0
Всего установок
309
Оценки
2 0 1
Версия
0.13
Создан
13.06.2015
Обновлён
16.06.2015
Лицензия
Недоступно
Работает на

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