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".

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
jcunews
일일 설치수
0
총 설치수
180
평점
8 0 0
버전
1.0.18
생성
2017-02-25
갱신
2023-09-22
라이선스
GNU AGPLv3
동작 사이트
모든 사이트

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.
The ID and class names are also checked.

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.