From 5758f556b54ccf110dc9fdea67ff6f0b19fab54d Mon Sep 17 00:00:00 2001 From: teramako Date: Thu, 21 Jul 2011 21:55:17 +0900 Subject: add extended hint 'G' --- google-plus-commando.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/google-plus-commando.js b/google-plus-commando.js index b5ec8b3..e701c33 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -679,6 +679,15 @@ let INFO = true ); + hints.addMode("G", "Google+ Post", + function action(elm) { + var src = elm.src; + commandline.open("", "googleplus -i " + src + " ", modes.EX); + }, + function getPath() { + return util.makeXPath(["img"]); + }); + })(); // }}} -- cgit v1.2.3