1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:17:58 +01:00

Add ;f extended hint mode to focus a frame

This commit is contained in:
Kris Maglione
2008-12-07 10:23:29 -05:00
parent 5d3c1826a7
commit daae81bcea
2 changed files with 2 additions and 0 deletions

View File

@@ -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)),

View File

@@ -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