Anchor Hotkeys

Adds single-key hotkeys that jump to specific anchors on a page.

目前為 2020-02-18 提交的版本,檢視 最新版本

作者
Gavin Borg
評價
0 0 0
版本
1.1
建立日期
2020-01-22
更新日期
2020-02-18
尺寸
4.0 KB
授權條款
未知
腳本執行於
所有網站

This script adds customizable, one-button hotkeys to any site for jumping to anchor tags with a particular name.

HOW TO USE

  1. Add the sites you want to either the user includes or user matches - this script does not run on any sites by default.
  2. Open one of the pages that match your sites.
  3. Open the settings page using either Ctrl+Comma or the sub-menu item for the script.
  4. Pick the single-button hotkeys and the corresponding anchor names (<a id="X"> or <a name="X">) that go with them
  5. Save and close the settings and reload the page.
  6. Now, pressing the button in question should jump to the corresponding anchor.

NOTES

  • This script uses the first matching user include/match to store/use your settings, so I'd recommend against overlapping rules there.
  • This script only supports single-button (non-modifier) hotkeys - that means hotkeys like a, not Ctrl+a.

Source: GitHub

Available on Greasy Fork for easy installation.