diff options
author | Ajay Ramachandran <[email protected]> | 2019-07-23 18:42:44 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-07-23 18:42:44 -0400 |
commit | c91c08a17f1292ce26c20bbccc64dc2731010701 (patch) | |
tree | 009fa75b31ce026e5f37d8e9d729ba18e03480a6 | |
parent | 86bffeb96c7358def1297b3661b3a89e0b353a92 (diff) | |
download | SponsorBlock-c91c08a17f1292ce26c20bbccc64dc2731010701.tar.gz SponsorBlock-c91c08a17f1292ce26c20bbccc64dc2731010701.zip |
Made it send a request to the server to sponsor skip views.
-rw-r--r-- | content.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |