diff --git a/background.js b/background.js index ae1f7e45..f2759f1f 100644 --- a/background.js +++ b/background.js @@ -109,7 +109,7 @@ function submitVote(type, UUID, callback) { } //publish this vote - sendRequestToServer("GET", "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + "&type=" + type, function(xmlhttp, error) { + sendRequestToServer("POST", "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + "&type=" + type, function(xmlhttp, error) { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { callback({ successType: 1 diff --git a/content.js b/content.js index 55f2a3ca..71164509 100644 --- a/content.js +++ b/content.js @@ -652,9 +652,9 @@ function skipToTime(v, index, sponsorTimes, openNotice) { } } - //send telemetry that a this sponsor was skipped happened + //send telemetry that a this sponsor was skipped if (trackViewCount && !sponsorSkipped[index]) { - sendRequestToServer("GET", "/api/viewedVideoSponsorTime?UUID=" + currentUUID); + sendRequestToServer("POST", "/api/viewedVideoSponsorTime?UUID=" + currentUUID); if (!disableAutoSkip) { // Count this as a skip