Add warning about extension storage being disable

Fixes issues with Tor and Mullvad browser
Fixes #1894
This commit is contained in:
Ajay
2023-11-27 01:04:06 -05:00
parent d62d362f2e
commit 1e5bd80471
4 changed files with 9 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ chrome.runtime.onInstalled.addListener(function () {
const userID = Config.config.userID;
// If there is no userID, then it is the first install.
if (!userID){
if (!userID && !Config.local.alreadyInstalled){
//open up the install page
chrome.tabs.create({url: chrome.extension.getURL("/help/index.html")});
@@ -129,6 +129,7 @@ chrome.runtime.onInstalled.addListener(function () {
const newUserID = generateUserID();
//save this UUID
Config.config.userID = newUserID;
Config.local.alreadyInstalled = true;
// Don't show update notification
Config.config.categoryPillUpdate = true;