mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Add warning about extension storage being disable
Fixes issues with Tor and Mullvad browser Fixes #1894
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user