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

ของเมื่อวันที่ 15-01-2019 ดู เวอร์ชันล่าสุด

ผู้เขียน
jcunews
คะแนน
0 0 0
เวอร์ชัน
1.0.4
สร้างเมื่อ
25-02-2017
อัปเดตเมื่อ
15-01-2019
Size
1.39 กิโลไบต์
สัญญาอนุญาต
GNU AGPLv3
ปรับใช้กับ
ไซต์ทั้งหมด

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". Or if it matches the text in the link's REL attribute, if any.

The link 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.