Created
July 21, 2022 20:22
-
-
Save tiagofrancafernandes/6bb5ce788e9438d5e933fc171ca24782 to your computer and use it in GitHub Desktop.
Click on Udemy Course Lessons - Mark Completed
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
document.querySelectorAll('[data-purpose="curriculum-section-container"] [data-purpose^="section-panel"] > [data-checked=""] + [data-css-toggle-id]').forEach(item => { | |
item.click() | |
}) | |
document.querySelectorAll('input[data-purpose="progress-toggle-button"]').forEach(input => { | |
if (!input.checked) { | |
input.click() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Video link