Skip to content

Commit

Permalink
Merge pull request #29 from ajayyy/experimental
Browse files Browse the repository at this point in the history
Removed logging
  • Loading branch information
ajayyy committed Jul 27, 2019
2 parents d654d89 + 00877fb commit 504f0b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function addSponsorTime(time, videoID) {

//save this info
let sponsorTimeKey = "sponsorTimes" + videoID;
console.log(sponsorTimes)
chrome.storage.sync.set({[sponsorTimeKey]: sponsorTimes});
});
}
Expand Down Expand Up @@ -124,9 +123,6 @@ function submitTimes(videoID, callback) {
for (let i = 0; i < sponsorTimes.length; i++) {
getUserID(function(userIDStorage) {
//submit the sponsorTime
console.log(sponsorTimes)
console.log("/api/postVideoSponsorTimes?videoID=" + videoID + "&startTime=" + sponsorTimes[i][0] + "&endTime=" + sponsorTimes[i][1]
+ "&userID=" + userIDStorage)
sendRequestToServer('GET', "/api/postVideoSponsorTimes?videoID=" + videoID + "&startTime=" + sponsorTimes[i][0] + "&endTime=" + sponsorTimes[i][1]
+ "&userID=" + userIDStorage, function(xmlhttp, error) {
if (xmlhttp.readyState == 4 && !error) {
Expand Down
2 changes: 1 addition & 1 deletion firefox_manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock",
"version": "1.0.8",
"version": "1.0.9",
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [
{
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "SponsorBlock - YouTube Sponsorship Blocker",
"short_name": "SponsorBlock",
"version": "1.0.8",
"version": "1.0.9",
"description": "Skip over sponsorship on YouTube videos. Report sponsors on videos you watch to save the time of others.",
"content_scripts": [
{
Expand Down

0 comments on commit 504f0b0

Please sign in to comment.