Merge branch 'experimental' into patch-19

This commit is contained in:
Official Noob
2019-08-11 13:38:00 +01:00
committed by GitHub
8 changed files with 127 additions and 94 deletions

View File

@@ -10,10 +10,6 @@ var sponsorVideoID = null;
//the time this video is starting at when first played, if not zero
var youtubeVideoStartTime = null;
if(id = getYouTubeVideoID(document.URL)){ // Direct Links
videoIDChange(id);
}
//the video
var v;
@@ -23,6 +19,10 @@ var channelURL;
//is this channel whitelised from getting sponsors skipped
var channelWhitelisted = false;
if(id = getYouTubeVideoID(document.URL)){ // Direct Links
videoIDChange(id);
}
//the last time looked at (used to see if this time is in the interval)
var lastTime = -1;
@@ -1190,4 +1190,4 @@ function getYouTubeVideoStartTime(url) {
}
return startTime;
}
}