Code Monkey home page Code Monkey logo

duplicate-tab's People

Contributors

skeletonxf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

duplicate-tab's Issues

Manifest version 3 update checklist

  • Duplicate Tab uses a persistent background page, this will need migrating to a non persistent one. Duplicate Tab has very little state in that background page so this should be straightforward.
  • Browser action APIs have changed namespace. Since the APIs are the same this should be a trivial update.
  • This migration is a good opportunity to adopt newer JavaScript language features than ES6: async/await/??/?.
  • The minimum supported Firefox version will need increasing to whatever version of FF ships MV3 first, regardless of which version this is, it should be more than new enough for adopting modern JavaScript language features.
  • Session storage comes in at FF 115, this is the absolute minimum to port all functionality without risking stale tab ID bugs
  • Revisit #14?
  • [ ] Revisit #8 (it may be possible by combining executeScript with history.back())

Keyboard shortcuts overhaul plans for 2019

With Firefox 66 providing a native UI to configure shortcut keyboard combinations, many users historically reporting that CTRL+SHIFT+D doesn't work, and now recently it seems to not even work on my Firefox on Ubuntu the keyboard shortcuts are going to need some changes.

The default shortcut for CTRL+SHIFT+D should be removed. This leaves the issue of migrating user shortcuts. Linux is only 12% of the WebExtension's userbase as of 2019/2/7 and therefore the remaining 86% of users already have ALT+SHIFT+D as the default key combination or are on Android where the APIs don't exist. I think the best course of action is to make the default shortcut ALT+SHIFT+D on all platforms by making the current CTRL+SHIFT+D shortcut unassigned by default and moving Linux's default over to ALT+SHIFT+D. From memory I believe this will leave any users with CTRL+SHIFT+D assigned manually with the keyboard shortcut staying assigned but I will ensure this remains working in a migration when I get around to coding.

The other issue that Firefox 66 introduces is users will be able to configure the keyboard shortcuts away from the addon's configuration UI - which means they will not see the buttons to enable keyboard shortcuts at all. I think the best course of action is to make all 3 keyboard shortcuts on by default (2 of which would be unassigned by default) and wait until the LTS version of Firefox supports native configuration before retiring disabling keyboard shortcuts. I do not want users to reassign a disabled keyboard shortcut and then get confused why it does not work.

The 3 keyboard shortcuts for the same action is becoming a bit useless now that shortcuts can be turned off by just making them unassigned and this will soon become a native feature of Firefox. I think once native reassigning of keyboard shortcuts is in the LTS Firefox I should remove the UI for assigning them from Duplicate Tab's settings page, and possibly delete the two redundant copies. I would like to know if any users actually make use of the ability to have multiple shortcuts for the same action but I do not want to add in phoning home code to find out programmatically for obvious privacy reasons. The safest option is obviously to leave in the redundancy but this may be confusing to new users. Ironically the fastest way to find out if users make use of the redundancy is to take away the feature and see if anyone drops a 1/5 review complaining, but I do not want to do this for obvious reasons. Perhaps I could add a survey link to the preferences page asking users if they do.

Edit: Removed CTRL+SHIFT+D and migrated settings in v1.9

[Feature] Move tab to new window

I would love a key that moves the current tab to a new window. True you could say it's not part of "duplicate-tab" but it's quite similar and I think many users would find it helpful.

[Feature] Key to duplicate as private

It's very nice to be able to duplicate to a private window. However it is a shame that I have to press Alt-Shift-A then tab then enter. Please could we have a way to set a key to do it directly?

Duplicate Tab no longer working

Firefox version: 95.0.2 (64-bit)
OS: MacOS Big Sur 11.6.2

When I right click on a tab and select "Duplicate Tab" it does nothing at all.

From the Firefox browser console, I'm seeing that just right clicking on a tab is raising an uncaught exception and when selecting "Duplicate Tab" another error is raised. I'm assuming that perhaps "Duplicate Tab" is a victim of the first exception here?

Here's the console output:
console-export-2022-1-5_9-31-0.txt

Firefox 77+ supports setting the `active` property when duplicating the tab

There's still about 25% of Duplicate Tab installations on older versions of Firefox than 77 at the time of writing, but in a year or so it should be possible to remove the legacy code for handling switch focus settings and instead use the duplicateProperties which will prevent the motion caused by programmatically switching focus after the duplication in the current version of Duplicate Tab.

Feature request

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.

Can "Switch focus on duplicate" happen immediately?

Hi - once again, this is a great extension and I appreciate your making it, Skeletonxf.

Would it be possible to make "Switch focus on duplicate" occur immediately? Otherwise, I click the button and then (if it's a slow page to load) wait a while, and then perhaps start working on a different tab. Then, maybe 10-30 seconds later (or more), suddenly I'm pulled back to the duplicated tab.

If the focus change happens immediately, I can decide whether to wait (if I see the duplicate tab is loading quickly) or else change focus back to another tab (and be assured that the focus won't be pulled away a few seconds later).

Thanks.

YouTube embedded videos not loading on duplicated tab

Hi, first off, thanks for such a lovely and time-saving extension! Has saved me loads of time and keystrokes for my work testing needs.

I noticed an issue that, from what I can tell, seems to be resulting from loading a duplicated tab via this extension, since what I believe are native FF methods (e.g. right click on tab > "Duplicate Tab", or holding Option down while dragging a tab), don't seem to result in the problem.

When using this extension, YouTube video embeds don't seem to load. (Seem to happen regardless of using the "Duplicate tab" menu item in my FF toolbar overflow menu, or the keyboard shortcut I configured for this extension (Cmd+Shift+M).) For example, if I open https://developers.google.com/youtube/iframe_api_reference, then duplicate it via the extension, where the video originally was, there's now just an empty space. Even after hard-refreshing the page.

Just tried now with a Vimeo video, and it doesn't seem to be a problem with those, e.g. https://vimeo.zendesk.com/hc/en-us/articles/115007991707-Embeddable-playlists

I'm using Firefox 108.0.1 on MacOS Monterey 12.6 (apparently both of those wanting me to update them, heh, so I'll try to report back if things are different after doing so).

REQ: Idk if anyone sees this anymore, but great addon that is gonna get real useful. One small REQ for convience? I know its a shot in the dark,

Since youtube is using anti adblock, you can simply view videos in a private window by right clicking on them. However, going to the blocked video, and duplicating the tab in private mode allows it to remain in browser history, keep the "blocked" window open so you can comment, and the private one open so you can view the video and even use addons.

I think this is gonna be the easiest solution, and since this plugin provides the easiest way to do this- by right clicking the opened tab, advanced duplicate (with this addon set up), and selecting open in private window...

Can you remove that extra step, and just make a way to duplicate the current tab in a private window?

I know this hasnt been updated in a year, so I obviously understand if nobody even sees this. This is going to be the solution I ultimately present to people.

[Feature] Customize icon

I have the last version of Firefox (110.0) and want use the new tab icon for duplicate the current tab, but there is not this option (only "Firefox Home (Default)" and "Black Page").

I remember this was possible some years ago with TabMixPlus extension: https://tabmixplus.org/support/viewtopic.php?t=3

I only found your extension for the new Firefox (with WebExtension).

Can you add the possibility of customize the icon used in toolbars? For example, I want use the icon "new tab" of my theme.

unable to reviewe perms

the last update has introduced a change in the extension's permissions. as you can see, firefox overflow menu indicates it with a green dot. yet, was unable to review the perms and take action upon it, which then keeps the green dot on screen. it seems that the permission tab of the extension does list the permissions that are needed like other extensions.

image

i am using firefox 119.0 (64-bit).

Keyboard shortcut overhaul plans for 2020

The interface for setting shortcuts via Firefox was a bit lacking in older versions of Firefox. In newer versions there's immediate feedback if you try to set a shortcut that is already taken and you can easily clear shortcuts.

The next release would probably be a good time to remove the shortcut setting UI from Duplicate Tab and replace it with a screenshot showing how to access the built in one. I don't want users to get confused about setting shortcuts for actions that are disabled, so I think the best choice is to remove the shortcut disabling code as well. Users can just remove the shortcuts keys directly now, and unlike Image Extract the shortcut actions aren't potentially destructive.

Duplicate in container tabs

Feature request from reviews on amo

Would actually be really useful, I've found myself often wanting to get a container tab open of something I already clicked.

[Feature] Duplicate & back?

Most users have probably had the experience that they clicked on a link, but really wanted to control-click. So an undo method for this inadvertent action would be great addition, i.e. not just duplicate, but duplicate the tab, and direct the original tab back to the previous page, while bringing to foreground either the duplicate tab or the original (based on user preferences).

Possible?

PS: idea inspired by the Clone & Back and TabKeys Safari extensions by @canisbos

Keyboard shortcuts do not work in Firefox ESR (52.7.4)

Hello. I'm running the ESR release of Firefox (52.7.4) on Windows 10 and the keyboard shortcut simply does not seem to work. I first had to disable ALT-SHIFT-D in the "Web Developer" extension - that shortcut was bound to "Edit CSS". But even after doing that and restarting Firefox, ALT-SHIFT-D does not do anything at all. (and CTRL-SHIFT-D just brings up the "New Bookmarks" window. I have both the "Duplicate Tab 1" and "Duplicate Tab 2" boxes checked in the extension's options page.)

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.