Created
March 2, 2023 09:40
-
-
Save jason-murray/7090060196189a61ca435fcc29978d64 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
if (JSON.parse(localStorage.getItem('force-reconsent-finished')) !== true) { | |
document.cookie = '_vfa=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/'; | |
localStorage.setItem('force-reconsent-finished', 'true'); | |
console.log ('Force Reconsent Complete'); | |
} else { | |
console.log ('Force Reconsent Not Required'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment