When I access nadex.com quotes, Firebug tells me I send these cookies (but it's really all one line):
JSESSIONID=Qk3lNyhpQCpGpfx4bghpJLd2ML90tNx3lKvpvPLcvdmJyGRGztH5!1308128606!-757\
827124; bhCookieSess=1; bhCookiePerm=1; IGFOREXCOOKIE=; LS__LSEngine_S=exist_13\
02897154477; LS__LSEngine_K=SHARE_SESSION; LS__https://demo-mdp.nadex.com=1; LS\
__LSEngine=73; iconStateSetting=/dealing/pd/cfd/login/loginUser.htm?iconsEnable\
d=true; homeUrl=https://demo.nadex.com/content/sites/ndx/en_US/; showDmaHelp=fa\
lse
and Firefox's "Edit/Preferences/Privacy/remove individual cookies" seems to agree.
However, when I look at cookies.sql, some cookies above don't show up:
cp ~/.mozilla/firefox/xxxxxxxx.default/cookies.sqlite /tmp && \
echo "SELECT name FROM moz_cookies;" | sqlite3 /tmp/cookies.sqlite |\
sort | uniq
(note that I must "cp" since the original db is locked by Firefox).
The result's ugly + unhelpful, but I specifically noted these values do NOT appear even though I'd expect them to:
- JSESSIONID (probably the most important one)
- homeURL
- showDmaHelp
- possibly others
How can I find these "hidden" cookies? I'm writing a perl/curl script to download data, but it doesn't work w/o the JSESSIONID cookie (and handcopying from Firebug isn't automatic enough, plus JSESSIONID changes often)
EDIT (too long/unwieldy for a comment): @Lekensteyn Thanks for the GM script! It doesn't update webappsstore.sqlite when I visit nadex.com and login, but it DOES update sessionstore.js, which contains:
{"host":"www.nadex.com","value":"3x0LNpvGDHQq\
xls7FxbqtJ2pFlL0gSyk9YvBkPs09r4yvQyZDMWs!-1593496027!1301994507","path":"/price\
stream","name":"JSESSIONID"}
all on one line (in fact, the entire file is a single line).
However, I haven't yet checked to see if that has anything to do w/ the GM script, or is something that happens anyway. At the very least, it gives me a new place to dig.