Closed birdmedia closed 1 month ago
@birdmedia do you have more information such as screenshots and if you are using the module, the cookiebar page or the content-element, maybe even the insert-tags?
Where does the warning occur? What OS and browser-version are you using?
Usage of a custom script on the website - This doesn't have anything to do with the cookiebar.
Array.from(document.querySelectorAll("a")).filter(l=>l.hostname!==location.hostname).forEach(el=>el.addEventListener("click",evtL));function evtL(e){if(confirm("Dieser Link führt auf eine externe Website. Wollen Sie die Website example.com verlassen?")){return}else{e.preventDefault();return!1}}
Prerequisites
Please select the topic(s) that most closely match your concern
Template (HTML/Twig)
Description
The browsers Chrome and Firefox prompt a warning (external website) when clicking the cookiebar link as provided by the ccb_opener_default.html5 template. This seems to happen due to the href="" part which is missing a local link.
Contao 4.13.46 / Cookiebar 1.16.5
Relevant log output
No response