Last active
August 26, 2025 18:03
-
-
Save stevengonsalvez/ce8f4d0e59b665c99e0bf7816c66f6a6 to your computer and use it in GitHub Desktop.
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
| localStorage.clear(); | |
| sessionStorage.clear(); | |
| document.cookie.split(";").forEach(function(c) { | |
| document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); | |
| }); | |
| console.log('Cleared all storage'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment