Add Keyboard Shortcut for Generic Next/Previous Page

Add CTRL+ArrowLeft and CTRL+ArrowRight for generic next/previous page. It will click the last found link whose text starts/ends with e.g. "Next", "Prev", or "Previous".

Устаревшая версия за 26.02.2017. Перейдите к последней версии.

Автор
jcunews
Оценки
0 0 0
Версия
1.0.2
Создано
25.02.2017
Обновлено
26.02.2017
Размер
1,4 КБ
Лицензия
нет данных
Работает на
всех сайтах

Add CTRL+ArrowLeft and CTRL+ArrowRight for generic next/previous page. It will click the last found link whose text starts/ends with e.g. "Next", "Prev", or "Previous".

The link text more specifically, are those which starts with (non case sesitive) "Next", "Prev", "Previous"; or ends with "Prev", "Previous". e.g. "Next", "Next >", "Next Page", "Prev", "< Prev", "< Previous", etc. but not "< Prev Page" because the word "prev" or "previous" is not at the end of text.

This script doesn't take into account of links whose contents is an image rather than text, or whose text is a CSS text contents.