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
338 stars 205 forks source link

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

Closed stephankellermayr closed 1 month ago

stephankellermayr commented 11 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.

1502