diff options
author | Ajay Ramachandran <[email protected]> | 2020-05-11 21:04:28 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-05-11 21:04:28 -0400 |
commit | b591fbfc4b2d63c1a189c8f849adf9bc864555a5 (patch) | |
tree | 2113dc99f91b3d1710ae35a2e9fcf422190deab8 | |
parent | 57eb122fce143a47e3ab4f6ec9e16e75245a419a (diff) | |
download | SponsorBlock-b591fbfc4b2d63c1a189c8f849adf9bc864555a5.tar.gz SponsorBlock-b591fbfc4b2d63c1a189c8f849adf9bc864555a5.zip |
Removed log
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/content.ts b/src/content.ts index fe3caac8..78579023 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1136,8 +1136,6 @@ function getRealCurrentTime(): number { let playButtonSVGData = document.querySelector(".ytp-play-button")?.querySelector(".ytp-svg-fill")?.getAttribute("d"); let replaceSVGData = "M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"; - console.log(playButtonSVGData) - if (playButtonSVGData === replaceSVGData) { // At the end of the video return video.duration; |