/duplicate-tabs-closer

Duplicate Tabs Closer - Detects and closes duplicate tabs for Chrome and Firefox.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Duplicate Tabs Closer

Duplicate Tabs Closer detects and closes duplicate tabs.

  • Use the WebExtensions API
  • Support Firefox and Chrome
  • Firefox Container Tab feature is supported.

Options:

On duplicate tab detected:

  • Close tab automatically: automatically closes the detected duplicate tab.
  • Do nothing: monitor tabs and update the badge icon to indicate the number of duplicate tabs detected.

On remaining tab:

(used with option Close tab automatically):

  • Do nothing (default): nothing is done after the duplicate tab is closed.
  • Activate: once the duplicate tab is closed, the remaining tab is activated.
  • Apply opening tab behavior: once the duplicate tab is closed, depending on the default tab behavior, the remaining tab will be moved to the position of the closed tab and activated if needed.

Priority:

(used with option Close tab automatically and Close all duplicate tabs button)

  • Keep older tab (default): Keep the already existing tab.
  • Keep newer tab: Keep the newer tab.
  • Keep tab with https (default on): Ignore the scheme part during comparison and keep the tab with the https scheme.
  • Keep pinned tab (default on): Keep the pinned tab.

Filters:

Scope:

  • Container: only closes/displays duplicate tabs that belong to a same container.
  • Active window (default): only closes/displays duplicate tabs that belong to a same window.
  • All window: closes/displays duplicate tabs for all windows.

Customization:

(only accessible from the page Options - opened from extension popup panel by clicking on top right icon or by opening the Extensions panel and select extension's options )

  • Duplicate tabs badge color: Set the badge color for duplicate tabs
  • No duplicate tab badge color: Set the badge color for no duplicate tabs
  • Show badge if no duplicate tab: Show badge with value 0 if no duplicate tab

Hotkey:

  • Alt+Shift+W to close all duplicate tabs (this could be configured in the options in future version)