Remove unused popup related code

This commit is contained in:
opl-
2020-11-15 00:36:31 +01:00
parent 59826aae6d
commit b47a71c000
2 changed files with 1 additions and 41 deletions

View File

@@ -145,27 +145,6 @@ function messageListener(request: any, sender: any, sendResponse: (response: any
videoID: sponsorVideoID
});
break;
case "getVideoDuration":
sendResponse({
duration: video.duration
});
break;
case "skipToTime":
video.currentTime = request.time;
// Unpause the video if needed
if (video.paused){
video.play();
}
return;
case "getCurrentTime":
sendResponse({
currentTime: getRealCurrentTime()
});
break;
case "getChannelID":
sendResponse({