prevent-duplicate-tabs
prevent-duplicate-tabs copied to clipboard
switch to old tab if active is closed
Fixes #36 (scenario 2)
I also add a bunch of jsdoc and such so typescript can understand the code. (also, changed substr to slice, since substr is deprecated). Could use substring instead, but i prefer slice). If undesired, we can just merge the commit with the change: https://github.com/brcontainer/prevent-duplicate-tabs/compare/main...forivall:prevent-duplicate-tabs:feature/switch-to-existing
Can't really do a lot to help but I would love to see this implemented. I don't want duplicates, but I did want to go to that site, it just makes sense for the old tab to open if thats what we're keeping.
@forivall Thank you very much for the development. I am now directly using your forked repo! It works perfectly for me.