mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 21:47:59 +01:00
Add ;f extended hint mode to focus a frame
This commit is contained in:
@@ -61,6 +61,7 @@ function Hints() //{{{
|
|||||||
const hintModes = {
|
const hintModes = {
|
||||||
";": Mode("Focus hint", function (elem) buffer.focusElement(elem), extended),
|
";": Mode("Focus hint", function (elem) buffer.focusElement(elem), extended),
|
||||||
a: Mode("Save hint with prompt", function (elem) buffer.saveLink(elem, false)),
|
a: Mode("Save hint with prompt", function (elem) buffer.saveLink(elem, false)),
|
||||||
|
f: Mode("Focus frame", function (elem) elem.ownerDocument.defaultView.focus(), function () "//body | //html|body"),
|
||||||
s: Mode("Save hint", function (elem) buffer.saveLink(elem, true)),
|
s: Mode("Save hint", function (elem) buffer.saveLink(elem, true)),
|
||||||
o: Mode("Follow hint", function (elem) buffer.followLink(elem, liberator.CURRENT_TAB)),
|
o: Mode("Follow hint", function (elem) buffer.followLink(elem, liberator.CURRENT_TAB)),
|
||||||
t: Mode("Follow hint in a new tab", function (elem) buffer.followLink(elem, liberator.NEW_TAB)),
|
t: Mode("Follow hint in a new tab", function (elem) buffer.followLink(elem, liberator.NEW_TAB)),
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ this hint mode. Then press [a]24[a] to copy the hint location.
|
|||||||
* [m];[m] to focus a link and hover it with the mouse
|
* [m];[m] to focus a link and hover it with the mouse
|
||||||
* [m]?[m] to show information about the element (incomplete)
|
* [m]?[m] to show information about the element (incomplete)
|
||||||
* [m]a[m] to save its destination (prompting for save location)
|
* [m]a[m] to save its destination (prompting for save location)
|
||||||
|
* [m]f[m] to focus a frame
|
||||||
* [m]s[m] to save its destination
|
* [m]s[m] to save its destination
|
||||||
* [m]o[m] to open its location in the current tab
|
* [m]o[m] to open its location in the current tab
|
||||||
* [m]t[m] to open its location in a new tab
|
* [m]t[m] to open its location in a new tab
|
||||||
|
|||||||
Reference in New Issue
Block a user