Test with cookies in Google Chrome

For a project I needed to create my own cookies to audit that I was getting the information right. Well, since we have to test for everything, through the following command in Developer Tools > Console, we can use the following command:

document.cookie="keyofcookie=valueofcookie"

Where keyofcookie, would be the key or cookie name and valueofcookie the value of the cookie.

Viewed at: StackExchange

Leave a Comment

LAtest articles

Cierre Ventana

A different color per project in VSCode: the trick that prevents you from typing in the wrong repo

A different color per project in VSCode: the trick that prevents you from typing in the wrong repo

Cierre Ventana

Prueba bloques Gutenberg (issue #241)

Entrada de prueba para verificar la conversión a bloques Gutenberg al publicar.

Cierre Ventana

Un color distinto por proyecto en VSCode: el truco que evita que escribas en el repo equivocado

Un color distinto por proyecto en VSCode: el truco que evita que escribas en el repo equivocado