diff --git a/background.js b/background.js index 04e644af..e76d7daf 100644 --- a/background.js +++ b/background.js @@ -198,6 +198,12 @@ function getUserID(callback) { userID = userIDStorage; callback(userID); } else { + //double check if a UUID hasn't been created since this was first called + if (userID != null) { + callback(userID); + return; + } + //generate a userID userID = generateUUID();