How to prevent/close duplicate tabs in Safari

browser-addonsduplicatepluginssafaritabs

I have an extension for Firefox, "Close Repeated Tabs", and one for Chrome called "Tab Dupectomy"… but I really use Safari the most, and often have HUNDREDS of tabs open. I am desperate for a way to close, or ideally prevent from opening altogether – each tab that is for the SAME URL as another. I would imagine this is possible via an extension, script, etc.

PLEASE HELP!

enter image description here

Best Answer

I can't find any extension that achieves this, but (9 years after question was asked), Safari does have built-in tab sorting in the Window menu ("Arrange tabs by"). So, that might be a good-enough solution. First sort tabs by "Website", then it's easier to go through them with command+shift+] and remove duplicates.

Related Question