Created
January 9, 2024 20:11
-
-
Save bacoords/3cb2e6a8616b6fde0b971f475ff61a57 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
<script type="text/javascript"> | |
document.querySelectorAll('.consent-link').forEach(el => { | |
el.addEventListener('click', event => { | |
if(! Osano) { | |
return | |
} | |
event.preventDefault(); | |
Osano.cm.showDrawer(); | |
}) | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment