Y-marker

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
trespassersW
日安装量
0
总安装量
120
评分
8 0 0
版本
16.03.04
创建于
2014-03-31
更新于
2016-03-04
大小
8.6 KB
许可证
MIT
适用于
所有网站
  You can save current position in displayed webpage using shortcuts Shift-Alt-0‥9; later, you may return to saved position by pressing Alt -0‥9. Markers created in this way are kept in browser's persistent memory and they will be restored next time you open the page.

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
  • press Alt-Shift-0   twice to set starting Y-position for any page in the whole domain
  • click on pop-up message at top-right corner to remove all markers for current webpage.  
  • You can change script's keyboard shortcuts using GreaseMonkey menu:
    User Script CommandsY-marker hotkeys

    (I use Win key - it seems working on any site.)
  • you can control the script through bookmarklets:
    javascript:postMessage('Y-marker0','*')
    - jump to bookmark #0;
    javascript:postMessage('Y-marker0=','*')
    - set up bookmark #0.


16.03.04 * bookmarklets work in chrome
browsers

© trespassersW