prevent-duplicate-tabs icon indicating copy to clipboard operation
prevent-duplicate-tabs copied to clipboard

Redirect to existing tab

Open okcoker opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Under sort order, I have "close olders" turned off. This didn't work for me until I also turned off "preserve active tab". It seems like "preserve active tab" should be hidden/disabled when "close olders" is turned off.

This leaves a couple scenarios that feel off to me (and maybe this is 2 different feature requests):

Scenario 1: "close olders": off "preserve active tab": on

When copying and pasting an existing link into the browser, my old tab gets closed (even though I have this setting off ~ unexpected), and the new tab is preserved (expected i guess?). These options sound like they should be mutually exclusive.

Scenario 1: "close olders": off "preserve active tab": off

When copying and pasting an existing link into the browser, my old tab stays open (great, expected) and the newly pasted tab is closed (also expected). The result is a little jarring as I would expect the extension to redirect me to the older, existing tab since that was my initial desired action in the first place (to go to that pasted url)

okcoker avatar Aug 04 '23 20:08 okcoker

Hi there,

I think my issue is related, but what I want is slightly different. I have the following settings configured:

"close olders": off "preserve active tab": off

What I would like to see is for the new tab to be closed, but the URL in the new tab is updated in the old tab. The old tab should NOT refresh the page. It should just take the URL from the new tab and go to it directly.

This is useful for services such as Teams on the web. On Google Chrome, I use Clutter Free and I've configured it so that it will de-duplicate tabs for the domain teams.microsoft.com. The interesting thing here is that Teams supports deep-linking, at least in Teams classic (v1), which is what I'm using still.

Take the following Teams deep-link URLs, they go to different DM chats:

https://teams.microsoft.com/_#/conversations/19:0df130f3-9f1a-42c8-a162-3ed5e74443_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@unq.gbl.spaces?ctx=chat

https://teams.microsoft.com/_#/conversations/19:a93ccd8e-3f44-4633-9549-0caf223333_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@unq.gbl.spaces?ctx=chat

The interesting behaviour is that when I go to any one of those deep-links, my existing Teams chat jump directly to the DM of the deep-link chat. My Teams page isn't reloaded, it's very seamless. I want to achieve the same result in Firefox, but at the moment, the best I can do is load the new URL (which takes a second or so to load) and the old Teams page is closed.

chaoscreater avatar Jan 25 '24 06:01 chaoscreater