*

Recent

Author Topic: Cookie Consent  (Read 10807 times)

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Cookie Consent
« on: September 23, 2017, 09:12:43 AM »
Add a Cookie Consent bar to your arcade.

=> https://cookieconsent.insites.com/

Example for monster template:
Code: [Select]
echo'<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "#000"
    },
    "button": {
      "background": "#f1d600"
    }
  },
  "content": {
    "dismiss": "Got It!",
    "href": "http://demo.freearcadescript.net/fineprint/"
  }
})});
</script>';

See it in action => http://demo.freearcadescript.net/