Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request #12

Closed
JP-NYC opened this issue Mar 29, 2019 · 4 comments
Closed

Feature request #12

JP-NYC opened this issue Mar 29, 2019 · 4 comments

Comments

@JP-NYC
Copy link

JP-NYC commented Mar 29, 2019

Great extension. I have been missing CloneWindow extension https://www.bigdropinc.com/resources/mozilla/. Would love to have the option in your DuplicateTab to use the default key action (CTRL-N, CTRL-T) to duplicate current tab into new tab or open new window with current tab.

I know you are not supposed to be able to remap the default FF keys in FF 60+ but Cadeyrn https://github.com/cadeyrn/newtaboverride was able to do it by hooking into builtin new tab routine.

This would make the extension much more flexible and conducive to my browsing habits.

@Skeletonxf
Copy link
Owner

Sorry I don't understand why you say you have been missing CloneWindow. It looks like you can still install it from the URL to me?

I believe the extension in your second link changes the new tab page for all ways in which it is accessed (and hence CTRL+N and CTRL+T would have a different effect). Without looking into the details closely I think that overriding this new tab page and offering the ability to duplicate the previous tab open into the modified new tab page would require requesting permissions for all tabs/websites which I have already discussed in a different issue.

I'm not sure I quite understand what your use case is. Do you just want to remap CTRL+N and CTRL+T to perform tab duplication in the way already offered by ALT+SHIFT+D?

@JP-NYC
Copy link
Author

JP-NYC commented Mar 29, 2019 via email

@Skeletonxf
Copy link
Owner

In that case you should be able to cheat and use a system wide keyboard automation tool like AutoHotKey or AutoKey which intercepts CTRL+T when you press it with Firefox open and sends ALT+SHIFT+D instead.

@Skeletonxf
Copy link
Owner

Closing this since it's been years and I don't think there's ever going to be a way for an extension to override default shortcuts in Firefox, so third party applications will be needed to intercept and remap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants