Created
December 11, 2020 07:23
-
-
Save sophiabrandt/bfb8e43e2772f716465e3bf359072228 to your computer and use it in GitHub Desktop.
Revisions
-
sophiabrandt created this gist
Dec 11, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ /* 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)