diff options
-rw-r--r-- | main_background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_background.js b/main_background.js index b003c90..9e08976 100644 --- a/main_background.js +++ b/main_background.js @@ -436,7 +436,7 @@ function delete_removed_tab_info(tab_id, remove_info){ */ async function onTabUpdated(tabId, changedInfo, tab) { - let {url} = tab; + let url = tab.url.replace(/#.*/, ''); let report = activityReports[tabId]; if (!(report && report.url === url)) { let cache = await browser.sessions.getTabValue(tabId, url); |