analyzing page types and populating search inputs

This commit is contained in:
Sriram Hariharan
2023-03-03 19:58:53 -06:00
parent 723caca417
commit 4ed52a3c9f
8 changed files with 115 additions and 35 deletions

View File

@@ -32,6 +32,7 @@ export async function hotReloadTab(): Promise<void> {
chrome.tabs.get(reloadTabId, tab => {
if (!tab?.id) return;
if (!tab.url) return;
if (!HOT_RELOADING_WHITELIST.find(url => tab.url?.includes(url))) {
chrome.tabs.reload(tab.id);
}