defines a new attribute for cookies: . The add-on may read or write any cookies which could be read or written by a URL matching the host permissions. How do I store if a user clicked a button on a cookie using JavaScript? Reprenons le code que nous avions mis dans le fichier d'exemple index.html (voir l'article Manipuler les fichiers): Le doctype. A string representing the ID of the cookie store in which to set the cookie. If the server does not specify a Domain, the browser defaults the domain to the same host that set the cookie, excluding subdomains. yummy_cookie=choco; tasty_cookie=strawberry. Cookies let you store user information in web pages. See First-party isolation. bypassed using the DOM, for example by creating a hidden