We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<div class="gdpr-banner__dismiss"> <button role="button" tabindex="0" aria-pressed="false" class="gdpr-banner__button--dismiss" onclick="document.querySelector('.gdpr-banner').remove()">×</button> </div>
Could we change the above code to remove the onclick="" so we can more easily implement a good CSP with this plugin?
onclick=""
The text was updated successfully, but these errors were encountered:
You can easily override this partial and use whatever method you want to remove the banner on click. That's what partials are there for 😉
Sorry, something went wrong.
That's what I did. But you guys make a CSP plugin would you not prefer your own plugins to work without having to run unsafe-inline ;)
No branches or pull requests
Could we change the above code to remove the
onclick=""
so we can more easily implement a good CSP with this plugin?The text was updated successfully, but these errors were encountered: