Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #1013887 // hcookieconsent

JavaX fragment (include)

sS hcookieconsent() {
  ret hStylesheetSnippet(#1014043)
    + hjssnippet(#1014042)
    + [[
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "#eaf7f7",
      "text": "#5c7291"
    },
    "button": {
      "background": "#56cbdb",
      "text": "#ffffff"
    }
  },
  "content": {
    "message": "Idiotic laws require us to tell you that we use cookies."
  }
})});
</script>
]];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013887
Snippet name: hcookieconsent
Eternal ID of this version: #1013887/7
Text MD5: 80be81a11395ee272d32c156413628d0
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-25 15:40:25
Source code size: 491 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 339
Version history: 6 change(s)
Referenced in: [show references]