From c91c08a17f1292ce26c20bbccc64dc2731010701 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 23 Jul 2019 18:42:44 -0400 Subject: [PATCH] Made it send a request to the server to sponsor skip views. --- content.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content.js b/content.js index 7b5f32dd..2b51f7f9 100644 --- a/content.js +++ b/content.js @@ -168,6 +168,9 @@ function sponsorCheck(sponsorTimes) { // Video skipping openSkipNotice(); setTimeout(() => closeSkipNotice(currentUUID), 7000); + + //send telemetry that a this sponsor was skipped happened + sendRequestToServer("GET", "/api/viewedVideoSponsorTime?UUID=" + currentUUID); } lastTime = v.currentTime;