Ordered matching
The first enabled expression that matches a URL decides its identity, so broad fallback rules can sit below specific ones.
Chrome extension
Regex Tab Dedupe watches newly opened tabs, compares their URLs with rules you control, and closes a new duplicate after returning you to the oldest match.
How it works
Write a JavaScript regular expression or start with a preset. Capture the stable part of the URL in group 1.
The extension checks new HTTP and HTTPS tabs against your enabled rules. Existing tabs are left alone.
If an older tab has the same rule identity, the extension focuses that tab and closes only the new duplicate.
Your rules
The first enabled expression that matches a URL decides its identity, so broad fallback rules can sit below specific ones.
Start with common GitHub, YouTube, Google Docs, Jira, or query-free URL patterns, then edit before saving.
URL matching happens inside Chrome. The developer has no server, analytics, ads, or access to your browsing activity.
If Chrome cannot verify, focus, or close a tab safely, the new tab stays open.
Privacy
Regex Tab Dedupe reads tab URLs only to provide duplicate detection. It does not send them to the developer or any developer-controlled service.