aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-05-11 21:04:28 -0400
committerAjay Ramachandran <[email protected]>2020-05-11 21:04:28 -0400
commitb591fbfc4b2d63c1a189c8f849adf9bc864555a5 (patch)
tree2113dc99f91b3d1710ae35a2e9fcf422190deab8 /src
parent57eb122fce143a47e3ab4f6ec9e16e75245a419a (diff)
downloadSponsorBlock-b591fbfc4b2d63c1a189c8f849adf9bc864555a5.tar.gz
SponsorBlock-b591fbfc4b2d63c1a189c8f849adf9bc864555a5.zip
Removed log
Diffstat (limited to 'src')
-rw-r--r--src/content.ts2
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;