vimperator icon indicating copy to clipboard operation
vimperator copied to clipboard

[multi-hints.js] not work on firefox46

Open kesdoputr opened this issue 8 years ago • 4 comments

Just upgrade to firefox 46 and vimperator 3.13 and found multi-hints.js can't work. This plugin is very useful,can you fix it?Thanks for your reply.

kesdoputr avatar Apr 29 '16 04:04 kesdoputr

Thank you for reporting. I fix it.

// I use Firefox ESR...

caisui avatar Apr 29 '16 12:04 caisui

Thanks for the soon fix.Now it wokrs great. And i have a question before,that can i modify the description for actions? It's not a big question and don't affect for use just i want to see the description for the action. Like the picture below,i want to show follow link and yank locations,not //a and //*[@href] https://i.imgur.com/D79PnKw.jpg https://i.imgur.com/E2cqNte.jpg

kesdoputr avatar Apr 29 '16 20:04 kesdoputr

add to action description to prompt. If you wanto show only action descript, please apply bellow patch.

diff --git a/plugin/multi-hints.js b/plugin/multi-hints.js
index 96391ae..0ac2763 100755
--- a/plugin/multi-hints.js
+++ b/plugin/multi-hints.js
@@ -241,7 +241,7 @@ xml`<plugin name="multi-hints" version="0.0.2"
             commandline.close();
         }
         commandline.setTimeout(function () {
-            commandline.input(`${cmd.desc}[${util.clip(selector, 16)}]`, function (arg){
+            commandline.input(`${cmd.desc}`, function (arg){
                 let args = [];
                 let list = hints._pageHints;
                 let matcher = new MulitHintMatcher(arg);

caisui avatar Apr 30 '16 13:04 caisui

I apply the patch and that's what i want. Thanks for the update.

kesdoputr avatar Apr 30 '16 16:04 kesdoputr