cookies imprimir

    0

    4

    ismael zian

    document.

    Shortcut: cookies_impimir

      var item, nom, cognoms, lastvisit;
    var cookie=document.cookie.split("; ");
    
    for(var i in cookie) {
      item=cookie[i].split("=");
      if(item[0]=="nom")
      nom=item[1];
      if(item[0]=="cognoms")
      cognoms=item[1];
      if(item[0]=="color")
      document.getElementById("body").style.backgroundColor=item[1];
      if(item[0]=="lastvisit")
      lastvisit=item[1];
    }
    document.write("nom: "+nom);
    document.write("<br>cognoms: "+cognoms);
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.