Add the links of pages that shouldn't be closed. Head to the add-on's option page, and you will see a new field called Whitelisted URLs. However, this option is only available if the add-on is set to close tabs automatically.
If you don't want them to be closed automatically, you can Whitelist the URLs. Maybe you opened several tabs of a page on purpose. You may customize the badge color from the add-on's options, hide the badge if no duplicate tabs are found. Duplicate Tabs Closer works with Firefox Containers. Use the Scope drop-down menu to edit the setting. The default setting only checks for duplicate tabs in the current window. The options tell the add-on to ignore CASE in the URL, or the The extension can detect duplicate tabs across all windows, though it isn't set to do that. The add-on has several matching rules, though none of these are enabled. The other option keeps pinned tabs, in case there were 3 tabs of the same page and one of these were pinned, the add-on will prioritize the pinned tab, and close the other two. The first option keeps the tab with https in the URL, so in case a duplicate tab was found and it was a non-HTTPS page, it will be closed. There are two more options here, both of which are pre-enabled. Depending on your requirements, you may click on the "Priority" tab and switch to the "Keep Newer Tab" or "Keep and Refresh Older Tab". All window: closes/displays duplicate tabs for all windows.Don't want to do this manually? Use the drop-down menu that says "On Duplicate Tab Detected", and select "Close tab automatically", and the extension will do the job for you on its own.ĭuplicate Tabs Closer preserves "older tabs" by default.Active window (default): only closes/displays duplicate tabs that belong to a same window.Container in all windows: only closes/displays duplicate tabs that belong to a same container in all windows.Container in active windowIgnore search part in URL (default off).Ignore 'www' in URL domain name (default off).Keep pinned tab (default on): Keep the pinned tab.Keep tab with https (default on): Ignore the scheme part during comparison and keep the tab with the https scheme.Keep older tab (default): Keep the already existing tab.(Used with option Close tab automatically and Close all duplicate tabs button) To use tabs.executeScript() or tabs.insertCSS(), you must have the host permission for the tab Alternatively, you can get these permissions temporarily, only for the currently active tab and only in response to an explicit user action, by asking for the 'activeTab' permission. Duplicate tabs skipped will be notified in badge. In Firefox 85 and earlier, the 'tabs' permission was required instead. 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.Activate: once the duplicate tab is closed, the remaining tab is activated.Do nothing (default): nothing is done after the duplicate tab is closed.(Used with option Close tab automatically)