use npm and express.js to create a cookie-setting script
-
Run
git clone
to get this repository onto your desktop -
Run
npm install
to install dependencies -
Run
node cookie.js
-
Navigate to localhost:4000 in your browser
-
Open Web Developer/Developer Tools > Console
-
Type 'document.cookie' and you'll see the body of your cookie!
-
If you have Cookies Manager+ or EditThisCookie, you'll also be able to find (and edit) your cookie that way.