benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
334 stars 200 forks source link

JavaScript error when cookieconsent.min.js is blocked #1453

Open stephankellermayr opened 6 months ago

stephankellermayr commented 6 months ago

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.