Y-marker

save/restore webpage scroll Y position

当前为 2014-04-02 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
trespassersW
评分
0 0 0
版本
1.2.1
创建于
2014-03-31
更新于
2014-04-02
大小
4.9 KB
许可证
暂无
适用于
所有网站

Sets up keyboard shortcuts for placing bookmarks and navigation inside webpage.

You can save current position in displayed webpage using shortcuts Shift-Alt-09;
later, you may return to saved position by pressing Alt -0‥9.
————————
[screenshot]

————————
NOTES:
* Before jumping to marker the script stores the current page position, so you can get back by pressing
Alt-minus (that on the right of zero.)
* When you open webpage the script tries to restore previously saved position #0.
* Positions are calculated in screen's pixels, so if you alter zoom factor, or text column width, or something else, markers may become invalid
* You are free to change script's keyboard shortcuts by editing lines 25-26 in source code. For example:

var kJump = kWin; /* win-digit for jump */
var kMark = kWin+kShift; /* win-shift-digit for mark */

or even so:

var kJump = 0; /* just hit a digit key to jump */
var kMark = kShift; /* and shift+digit to mark */

————————
browsers