From 9a32710ef84161e73146ccaa17610c9462433fef Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Sun, 4 Aug 2019 19:09:46 +0100 Subject: [PATCH] Removed getYouTubeVideoStartTime --- content.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/content.js b/content.js index 77260012..656b0e83 100644 --- a/content.js +++ b/content.js @@ -1143,14 +1143,3 @@ function sendRequestToCustomServer(type, fullAddress, callback) { //submit this request xmlhttp.send(); } - -//returns the start time of the video if there was one specified (ex. ?t=5s) -function getYouTubeVideoStartTime(url) { - let searchParams = new URL(url).searchParams; - var startTime = searchParams.get("t"); - if (startTime == null) { - startTime = searchParams.get("time_continue"); - } - - return startTime; -}