- par Utilisateur ou utilisatrice 13771277 de Firefox, il y a 4 ansNoté 1 sur 5How in the world does anyone think that using the mouse is MORE EFFICIENT than using a simple keyboard shortcut? For real? I live by keyboard controls. I NEED the duplicate to be CTRL + K. If I had know the update was going to kill that I wouldn't have let it update. Now I'm stuck looking for another duplicator. All of them require a LONGER shortcut (3 keys vs 2). They aren't allowing a customization either. What a crock of elephant crap.
Réponse du développeurmis en ligne : il y a 4 ansHi, this addon has never provided CTRL + K as a shortcut. I believe that shortcut already is used by Firefox to select the address bar, it does on mine. This addon provides CTRL+SHIFT+D which I've verified works on several linux systems and the CMD equivalent on Mac. I've also verified the ALT+SHIFT+D shortcut working on Windows. I didn't choose 3 key shortcuts deliberately. The reason they are both 3 keys is to avoid clashing with existing shortcuts in Firefox as much as possible. I wanted to allow a customisable shortcut and this remains a goal. It simply is not possible in the current WebExtensions options. The keys of the shortcuts have to be specified in the configuration of the addon, and can only be detected somewhat dynamically. Once I am able to register keyboard shortcuts from the settings page I plan to implement them.
If you need an existing solution now you can look into AutoHotKey on Windows or AutoKey on Linux (there are probably similar programs on Mac) and write a simple script to listen to a custom keyboard shortcut like your CTRL + K. An external program should then be able to detect keypresses that Duplicate Tab cannot (due to Firefox clashing with them) and simulate pressing one of the existing keyboard shortcuts of this addon to trigger the desired behaviour.
Alternatively you can edit the manifest.json of Duplicate Tab's source code to use a different shortcut and use the modified addon instead.
I am open to adding extra keyboard shortcuts, but they need to clash with Firefox as little as possible. I was never able to make CTRL+D work for example, which would have been the obvious choice.
Firefox 60 looks like it will have customizable keyboard shortcuts available so hopefully we don't have to wait much longer after all: https://github.com/Skeletonxf/duplicate-tab/issues/2
From Firefox 60 you should now be able to customize the shortcuts in browser with this addon, I still doubt CTRL+K will work however.