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

Deja un comentario

ÚLTIMOS ARTÍCULOS

Cierre Ventana

Analiza tu código automáticamente con PHPSTAN

En proyectos de WordPress, mantener un código limpio y libre de errores es fundamental para garantizar la calidad,…

Cierre Ventana

Desarrolla y crea Test para que tus plugins no tengan errores

Este es el tutorial que vamos a tener en cuenta para la charla de la WordCamp Galicia 2025.…

Cierre Ventana

A great year on the WordPress plugin team

It’s been a great year for the WordPress Plugins Team. You can see the numbers in a summary…

Este sitio está registrado en wpml.org como sitio de desarrollo. Cambia a una clave de sitio de producción en remove this banner.