Deleting all pages within a Canvas Course can be tedious as there isn't the ability to "Select All" pages.
Step-by-step guide
- Open the "Inspector" for your Browser
- Go to "Console"
- Within the Course go to "All Pages"
- Scroll to the end of the page to load them all
Paste the following into the Console and press "Enter"
document.querySelectorAll('input[type="checkbox"]').forEach(function(checkbox) { if (!checkbox.checked) { checkbox.click(); } });
- Delete them as normal
Related articles