mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 13:07:05 +03:00
dontShowNoticeAgain
This commit is contained in:
14
content.js
14
content.js
@@ -73,19 +73,7 @@ var popupInitialised = false;
|
||||
//if the notice should not be shown
|
||||
//happens when the user click's the "Don't show notice again" button
|
||||
//option renamed when new notice was made
|
||||
var dontShowNotice = false;
|
||||
|
||||
dontShowNoticeAgain2 = SB.config.dontShowNoticeAgain;
|
||||
|
||||
if (dontShowNoticeAgain2 != undefined) {
|
||||
dontShowNotice = dontShowNoticeAgain2;
|
||||
}
|
||||
|
||||
//load the legacy option to hide the notice
|
||||
var dontShowNoticeOld = false;
|
||||
if (dontShowNoticeAgain2 != undefined) {
|
||||
dontShowNoticeOld = dontShowNoticeAgain2;
|
||||
}
|
||||
dontShowNoticeAgain = SB.config.dontShowNoticeAgain;
|
||||
|
||||
//get messages from the background script and the popup
|
||||
chrome.runtime.onMessage.addListener(messageListener);
|
||||
|
||||
Reference in New Issue
Block a user