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

ÚLTIMOS ARTÍCULOS

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…

Cierre Ventana

Develop more secure WordPress Plugins

Introduction Plugin Check Plugin is the new tool available to everyone that allows you to do automatic reviews…

Cierre Ventana

Create your own WordPress plugin, from scratch or already knowing some

Speakers: Francisco Torres, Paco Marchante and myself, David Pérez. We had the opportunity to be at WordCamp Madrid…

Logo David
Privacy Resume

Esta web utiliza cookies para que podamos ofrecerte la mejor experiencia de usuario posible. La información de las cookies se almacena en tu navegador y realiza funciones tales como reconocerte cuando vuelves a nuestra web o ayudar a nuestro equipo a comprender qué secciones de la web encuentras más interesantes y útiles.Para más información consulta nuestra <a href="/politica-privacidad/">Política de Privacidad</a>