chore(extension): do not show chrome: tabs (#780)

This commit is contained in:
Yury Semikhatsky
2025-07-29 10:11:44 -07:00
committed by GitHub
parent 903c857f19
commit 65d99fe595
2 changed files with 3 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ class TabShareExtension {
private async _getTabs(): Promise<chrome.tabs.Tab[]> {
const tabs = await chrome.tabs.query({});
return tabs;
return tabs.filter(tab => tab.url && !['chrome:', 'edge:', 'devtools:'].some(scheme => tab.url!.startsWith(scheme)));
}
}