aboutsummaryrefslogtreecommitdiff
path: root/main_background.js
diff options
context:
space:
mode:
Diffstat (limited to 'main_background.js')
-rw-r--r--main_background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_background.js b/main_background.js
index 08007f8..d12ff54 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);