Bookmarklet to view cookies on page

This was so simple, that I'm not sure it deserves a whole blog entry. But, anyway. Up until now, I used LiveHTTPHeaders to view cookies, but latest version of Firefox (1.0 RC1) changed version of plugins and LiveHTTPHeaders doesn't work any more.

So, I wrote little bookmarklet to view cookies:

javascript:void(document.write('<html><pre>Cookie: '+unescape(document.cookie+'</pre></html>')));
Or just drag and drop this link to your browser. It displays cookies in format which is suitable for feeding into wget using --cookies=off --header="Cookie: ...." options.