From d31aa9fefc26f562f45043ad184846c469a580a9 Mon Sep 17 00:00:00 2001 From: jez Date: Tue, 1 Feb 2011 02:03:12 +0800 Subject: Tidy up merge --- commands.js | 6 ++++++ manifest.json | 2 +- vimiumFrontend.js | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/commands.js b/commands.js index 7c0f4a9d..b5d0a359 100644 --- a/commands.js +++ b/commands.js @@ -146,6 +146,9 @@ function clearKeyMappingsAndSetDefaults() { "x": "removeTab", "X": "restoreTab", + "b": "activateBookmarkFindMode", + "B": "activateBookmarkFindModeToOpenInNewTab", + "gf": "nextFrame" }; @@ -207,6 +210,9 @@ var commandDescriptions = { removeTab: ["Close current tab", { background: true }], restoreTab: ["Restore closed tab", { background: true }], + activateBookmarkFindMode: ["Open a bookmark in the current tab"], + activateBookmarkFindModeToOpenInNewTab: ["Open a bookmark in a new tab"], + nextFrame: ["Cycle forward to the next frame on the page", { background: true }] }; diff --git a/manifest.json b/manifest.json index e100f42d..417467b7 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "options_page": "options.html", "permissions": [ "tabs", - "bookmarks", + "bookmarks", "http://*/*", "https://*/*" ], diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 6877be5f..e0b6eb6a 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -266,7 +266,6 @@ function scrollFullPageDown() { window.scrollBy(0, window.innerHeight); } function scrollLeft() { window.scrollBy(-1 * settings.get("scrollStepSize"), 0); } function scrollRight() { window.scrollBy(settings.get("scrollStepSize"), 0); } - function focusInput(count) { var results = document.evaluate(textInputXPath, document.documentElement, null, -- cgit v1.2.3