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

目前为 2017-02-26 提交的版本。查看 最新版本

作者
jcunews
评分
0 0 0
版本
1.0.2
创建于
2017-02-25
更新于
2017-02-26
大小
1.4 KB
许可证
暂无
适用于
所有网站

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.