From 1ab33375ecdac3da9648cebc5e47b6172733ab86 Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Sun, 11 Aug 2019 13:51:59 +0100 Subject: [PATCH] Update background.js --- background.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/background.js b/background.js index c08ad16b..9e6f5259 100644 --- a/background.js +++ b/background.js @@ -1,3 +1,6 @@ +//the id of this user, randomly generated once per install +var userID = null; + chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { chrome.tabs.sendMessage(tabId, { message: 'update',