Y-marker

save/restore webpage scroll Y position

目前為 2014-04-02 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
trespassersW
評價
0 0 0
版本
1.2.3
建立日期
2014-03-31
更新日期
2014-04-02
尺寸
4.9 KB
授權條款
CC0 1.0 Universal (CC0 1.0)
腳本執行於
所有網站

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
————————
(CC0 1.0) trespassersW