Skip to content
New issue

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

[BUGFIX] Fix JavaScript error when cookieconsent.min.js is blocked by secure browser #1453

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stephankellermayr
Copy link

@stephankellermayr stephankellermayr commented Dec 12, 2023

When using the Brave browser, the JavaScript for the Cookie Consent plugin is automatically blocked, which results in an error being displayed when the window.cookieconsent.initialize method is called.

screenshot-cookieconsent

A solution would be to check beforehand whether this method is available.

#1502

@stephankellermayr stephankellermayr changed the title JavaScript error when cookieconsent.min.js is blocked [BUGFIX] Fix JavaScript error when cookieconsent.min.js is blocked by secure browser Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant