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/button whose text starts/ends with e.g. "Next", "Prev", "Back", or "Previous".

Per 14-12-2021. Zie de nieuwste versie.

Maker
jcunews
Beoordelingen
0 0 0
Versie
1.0.13
Gemaakt op
25-02-2017
Bijgewerkt op
14-12-2021
Grootte
2,71 KB
Licentie
GNU AGPLv3
Wordt toegepast op
Alle websites

The link/button text more specifically, are those which starts with (non case sesitive) "Next", "Prev", "Previous"; or ends with "Prev", "Back", "Previous", "Next". e.g. "Next", "> Next", "Next Page", "Prev", "< Prev", "< Previous", etc. but not "< Prev Page" because the word "prev" or "previous" is not at the start/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.

If next/previous navigation link is specified in the HTML metadata, it will be used as a priority.