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", or "Previous".

Tính đến 12-12-2019. Xem phiên bản mới nhất.

Tác giả
jcunews
Đánh giá
0 0 0
Phiên bản
1.0.5
Đã tạo
25-02-2017
Đã cập nhật
12-12-2019
Size
2 KB
Giấy phép
GNU AGPLv3
Áp dụng cho
Tất cả trang web

The link/button text more specifically, are those which starts with (non case sesitive) "Next", "Prev", "Previous"; or ends with "Prev", "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.