Skip to content

Commit

Permalink
changed a debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
lawfx committed Oct 27, 2019
1 parent 2bb0faf commit 4f8cc21
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions autoconfirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ function tryClickVideoPlayer() {
document.querySelector(unpauseElement).click();
videoActed = true;
setTimeout(() => (videoActed = false), resetActedTime);
debug(
getTimestamp() +
' ' +
document.querySelector('head title').innerHTML +
' Detected paused video and clicked it to continue!'
);
debug('Clicked video!');
}
}

Expand All @@ -205,11 +200,6 @@ function tryClickDialog() {
.click();
dialogActed = true;
setTimeout(() => (dialogActed = false), resetActedTime);
debug(
getTimestamp() +
' ' +
document.querySelector('head title').innerHTML +
' Confirmed watching in dialog!'
);
debug('Clicked dialog!');
}
}

0 comments on commit 4f8cc21

Please sign in to comment.