Created
December 11, 2020 07:23
-
-
Save sophiabrandt/bfb8e43e2772f716465e3bf359072228 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this script marks each lecture as completed | |
paste into browser console (F12) */ | |
var timer = window.setInterval(function() { | |
var videoCompleteButton = document.querySelector('.complete') | |
if (videoCompleteButton) { | |
videoCompleteButton.click() | |
} else { | |
window.clearInterval(timer) | |
} | |
}, 5000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment