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

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

stephankellermayr
Copy link
Contributor

@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
@benjaminkott benjaminkott merged commit 2ed9ddd into benjaminkott:master Oct 10, 2024
5 checks passed
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.

2 participants