Skip to content

Conversation

@ihchris
Copy link
Contributor

@ihchris ihchris commented Feb 17, 2025

This update fixes an issue where the tab grouping feature was not correctly handling sites with country-code top-level domains (TLDs) like .co.uk and .com.br. The logic for generating group names has been improved to handle country-code TLDs by:

Removing the www prefix from domain names.
Correctly handling country-code TLDs (e.g., .co.uk, .com.br).
Removing common TLDs (e.g., .com, .net, .org, .cn etc.) from the domain name.
Ensuring the main domain is extracted for tab grouping.

  • Updated genGroupName function to improve domain extraction.
  • Removed 'www' prefix when extracting the main domain.
  • Enhanced handling of country-code TLDs (e.g., .co.uk, .com.br).
  • Removed common TLDs from the domain extraction process for more accurate group naming.
  • Simplified group name formatting._

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant