SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× EU e-Privacy Directive needs your help!

A free extension like this survives only by reputation. You can help by submitting a review in the Joomla Extension Directory. Please take the time to make a review by clicking on the link below (opens in a new window)

extensions.joomla.org/write-review/review/add?extension_id=4850

Cookie Banner not showing in IE11

More
3 years 2 months ago #1573 by michael
If I had to guess, it's because the plugin is unable to load its settings. Your site is stripping the Joomla script options tag and leaving it empty.
<script type="application/json" class="joomla-script-options new">{}</script>

That tag should have a whole bunch of stuff in it. One of the things it's missing is the eprivacy options. It's also missing front-end translations, the Joomla keepalive settings, Joomla system paths - it's missing a lot of stuff.

Stripping this data will affect Joomla and other extensions, not just mine. I don't know if it's intentional, or if you have a plugin doing this.

It should look something like this (from my GDPR demo site):
<script type="application/json" class="joomla-script-options new">{"plg_system_adblockreactor":{"timeout":100,"report":true,"lastreport":null,"root":"","actions":["var bar = jQuery('<div\/>')\r\n .css('background-color','#900')\r\n .css('text-align','center')\r\n .css('color','#fff')\r\n .css('padding','10px')\r\n .css('position','fixed')\r\n .css('bottom','0px')\r\n .css('left','0px')\r\n .css('width','100%');\r\nbar.text('Google Ads are used as part of the cookie blocking demonstration. Please disable your ad blocker for this website.');\r\nbar.appendTo(document.body);"],"changeactions":["document.addEventListener('ABREvent',function(e){\r\n    var label = Joomla.getOptions('plg_system_adblockreactor').lastreport===null?'detected':'changed';\r\n    var value = window.adblockreactor.vars.lastreport?'enabled':'disabled';\r\n    ga('send', 'event', 'adBlocker', label, value);\r\n},false);","document.addEventListener('ABREvent',function(e){ \r\nvar start = Joomla.getOptions('plg_system_adblockreactor').lastreport;\r\nif(!e.detail && start) {\r\n    var modal = jQuery('<div class=\"modal hide fade\"\/>').appendTo(document.body);\r\n    var header = jQuery('<div class=\"modal-header\"\/>').appendTo(modal);\r\n    jQuery('<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;<\/button>').appendTo(header);\r\n    jQuery('<h3>Thank You<\/h3>').appendTo(header);\r\n    var body = jQuery('<div class=\"modal-body\"\/>').appendTo(modal);\r\n    jQuery('<p>Now that your ad blocker is disabled, you can use the cookie controls to accept and decline cookies. The Google ads come and go when cookies are accepted and declined.<\/p>').appendTo(body);\r\n    modal.modal('show');\r\n}},false);"]},"ytnclazyloader":{"thumbnail":"0.jpg","apikey":"AIzaSyBYDYGWdpLS8WGYD5SjrK9geqIl7FBVb7o"},"csrf.token":"a55856baf44e984a0299590ed456eeb9","system.paths":{"root":"","base":""},"joomla.jtext":{"PLG_SYS_EXTERNALLINKWARNINGPRO_WARNINGTEXT":"Warning\n\nYou have chosen a link that takes you away from {sitename}.\n\nWe cannot be held responsible for the content of {destdomain}.\n\nClick OK to continue, or Cancel to stay on {domain}.","PLG_SYS_EPRIVACY_MESSAGE":"This website uses cookies to manage authentication, for analytics, and other functions.  To fully use our website, you must agree that we can place these types of cookies on your device.","PLG_SYS_EPRIVACY_POLICYTEXT":"View Privacy Policy","PLG_SYS_EPRIVACY_LAWLINK_TEXT":"View e-Privacy Directive Documents","PLG_SYS_EPRIVACY_AGREE":"I agree","PLG_SYS_EPRIVACY_DECLINE":"I decline","PLG_SYS_EPRIVACY_CONFIRMUNACCEPT":"Performing this action will remove all cookies set by this website.  Third party cookies will no longer communicate to their parent sites, but cannot be removed by this website and must be removed by other means.\n\nAre you sure you want to disable and remove cookies?","PLG_SYSTEM_VOICESEARCH_LOWCONFIDENCE":"We were unable to understand you.  Please speak clearly.","PLG_SYSTEM_VOICESEARCH_LISTEN":"Voice Search","PLG_SYSTEM_VOICESEARCH_LISTENSTOP":"Stop Listening"},"plg_system_externallinkwarningpro":{"sitename":"GDPR.RicheyWeb","warningexcludeclasses":[],"warningexcludedomains":["www.richeyweb.com","plus.google.com","www.linkedin.com","www.facebook.com","twitter.com","gdprstatic.richeyweb.com"],"uselinkicon":"0","linkicon":"","linkiconexcludeclasses":[],"warningexcludeurls":[]},"plg_system_eprivacy":{"displaytype":"ribbon","autoopen":true,"accepted":false,"root":"","cookie":{"domain":".gdpr.richeyweb.com","path":"\/"},"policyurl":"https:\/\/gdpr.richeyweb.com\/privacy-policy?tmpl=component","policytarget":"_blank","agreeclass":"btn btn-success pull-right","declineclass":"btn btn-danger pull-right","lawlink":"http:\/\/eur-lex.europa.eu\/LexUriServ\/LexUriServ.do?uri=CELEX:32002L0058:EN:NOT"},"plg_system_ganocookies":{"root":"","trackingid":"UA-2542435-2","ga":{"anonymizeIp":true},"heartbeat":300,"youtube":["ended","playing"],"youtube_label":"title","plugins":["cleanUrl","event","impression","maxScroll","mediaQuery","outboundForm","outboundLink","pageVisibility","socialWidget","urlChange"]},"plg_system_voicesearch":{"position":"before","lang":"en-GB","buttonclass":"btn","buttonicon":"","buttonlisteningclass":"btn","buttonlisteningicon":"btn-error","continuous":"0","confidence":"0.9","interrimResults":"0","autosubmit":"1"}}</script>

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Powered by Kunena Forum