Last active
February 13, 2019 21:36
-
-
Save xjcoan/5190bb54ba80ddd3ee809b114381e7ea to your computer and use it in GitHub Desktop.
Dismiss all updates in Blackboard
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 characters
| // Dismiss all updates in Blackboard (on the update finder page) | |
| // Best used when you let the updates pile up | |
| // Find all dismiss buttons on the page and click them | |
| let dismissButtons = document.querySelectorAll('[id*="dismiss_"]') | |
| for (let i = 0; i < dismissButtons.length; i++) { | |
| dismissButtons[i].click() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment