mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
Update content.js
This commit is contained in:
@@ -70,15 +70,6 @@ var sponsorTimesSubmitting = [];
|
|||||||
//this is used to close the popup on YouTube when the other popup opens
|
//this is used to close the popup on YouTube when the other popup opens
|
||||||
var popupInitialised = false;
|
var popupInitialised = false;
|
||||||
|
|
||||||
//should view counts be tracked
|
|
||||||
var SB.config.trackViewCount = false;
|
|
||||||
let SB.config.trackViewCountStorage = SB.config.SB.config.trackViewCount;
|
|
||||||
if (SB.config.trackViewCountStorage != undefined) {
|
|
||||||
SB.config.trackViewCount = SB.config.trackViewCountStorage;
|
|
||||||
} else {
|
|
||||||
SB.config.trackViewCount = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
//if the notice should not be shown
|
//if the notice should not be shown
|
||||||
//happens when the user click's the "Don't show notice again" button
|
//happens when the user click's the "Don't show notice again" button
|
||||||
//option renamed when new notice was made
|
//option renamed when new notice was made
|
||||||
|
|||||||
Reference in New Issue
Block a user