Created
December 21, 2024 11:55
-
-
Save nilovelez/c6334d010d58088aaccf4ddd83569dbd to your computer and use it in GitHub Desktop.
Unregister Service Workers
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
| // Select all buttons with the class 'unregister' | |
| const unregisterButtons = document.querySelectorAll('.unregister'); | |
| // Click each button to trigger the 'unregister' action | |
| unregisterButtons.forEach((button) => { button.click(); }); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go to chrome://serviceworker-internals/
Open Inspector Console and execute code