diff --git a/src/background.ts b/src/background.ts index d9e88e2e..71cfe1ff 100644 --- a/src/background.ts +++ b/src/background.ts @@ -167,7 +167,7 @@ async function handleRenameTab(tab: chrome.tabs.Tab, title: string) { const urlParams = new URL(tab.url); const ruleName = 'Rule (' + urlParams.host.substring(0, 15) + ')'; - const rule = _getDefaultRule(title ?? 'Default', ruleName, urlParams.href); + const rule = _getDefaultRule(ruleName, title ?? '', urlParams.href); tabModifier.rules.push(rule);