Go to the course and have any video up. The following code relies on the right sidebar to be visible to uncheck all your progress.
You can do this with ctrl+shift+j
and making sure the console
tab is selected for chrome/brave
For FireFox, use ctrl+shift+k
you might need to type in "allow pasting" if it is your first time pasting in JS code in the console,
the console will give you instructions on this if so.
Copy and paste this code in the console
Hit the enter
key to run
// Expands all sections to make every checkbox visible
const sectionEl = document.querySelectorAll("span[data-checked=''] + div");
sectionEl.forEach((section) => {
section.click()
});
// Unchecks all checkboxes
const checkboxes = document.querySelectorAll("input[type='checkbox']");
checkboxes.forEach((checkbox) => {
if(checkbox.checked) {
checkbox.click();
}
})
Note that your Udemy progress % might not say 0% right away, this is on Udemy's end, but the % should update as you go through the course again.
Thank you for taking the time to read through this, if you have any problems please leave a comment. To show your appreciation, gift me a coffee ☺ https://ko-fi.com/johndinhdev
Hey everyone,
I created a chrome extension using the above script.
https://chrome.google.com/webstore/detail/udemy-progress-reset-and/hfkchfjmlhncoaidcoondhaifllmcefj
you can reset udemy course progress in one click.