Cookies Consent

Show cookies message based on new EU regulations with customization.
Best one I found so far. From cookieconsent.insites.com.
Can be consider an upgrade from my old one Cookies warning

EUCookiesRun    = ""
EUCookiesRun    = EUCookiesRun & "<!-- Cookies warning -->" & vbcrlf
EUCookiesRun    = EUCookiesRun & "<link rel=""stylesheet"" type=""text/css"" "
EUCookiesRun    = EUCookiesRun & "href=""//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css"" />" & vbcrlf
EUCookiesRun    = EUCookiesRun & "<script src=""//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js""></script>" & vbcrlf
EUCookiesRun    = EUCookiesRun & " <script>" & vbcrlf
EUCookiesRun    = EUCookiesRun & " window.addEventListener(""load"", function(){" & vbcrlf
EUCookiesRun    = EUCookiesRun & " window.cookieconsent.initialise({" & vbcrlf
EUCookiesRun    = EUCookiesRun & "  ""palette"": {" & vbcrlf
EUCookiesRun    = EUCookiesRun & "   ""popup"": {" & vbcrlf
EUCookiesRun    = EUCookiesRun & "   ""background"": ""#252e39""" & vbcrlf
EUCookiesRun    = EUCookiesRun & "   }," & vbcrlf
EUCookiesRun    = EUCookiesRun & "   ""button"": {" & vbcrlf
EUCookiesRun    = EUCookiesRun & "   ""background"": ""#14a7d0""" & vbcrlf
EUCookiesRun    = EUCookiesRun & "   }" & vbcrlf
EUCookiesRun    = EUCookiesRun & "  }," & vbcrlf
EUCookiesRun    = EUCookiesRun & "  ""theme"": ""classic""," & vbcrlf
EUCookiesRun    = EUCookiesRun & "  ""position"": ""bottom-left""," & vbcrlf
EUCookiesRun    = EUCookiesRun & "  ""content"": { ""href"": ""http://anmarsystems.com/About/PrivacyPolicy/"" }" & vbcrlf
EUCookiesRun    = EUCookiesRun & " })});" & vbcrlf
EUCookiesRun    = EUCookiesRun & " </script>" & vbcrlf
EUCookiesRun    = EUCookiesRun & ""

Views 1489 Downloads 611


ANmarAmdeen
612
Attachments
Sessions Classic ASP
Revisions

v1.0