diff --git a/background.js b/background.js index 3a8bad5..18efd97 100644 --- a/background.js +++ b/background.js @@ -34,7 +34,7 @@ chrome.runtime.onMessage.addListener((message, _, sendResponse) => { }) let lastNavUrl = "" -browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { +chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { // If URL is empty, skip if (!tab.url) return diff --git a/html/alert.html b/html/alert.html index 9a0c07d..41236de 100644 --- a/html/alert.html +++ b/html/alert.html @@ -6,6 +6,10 @@