how to set UserName in TiddlyWiki5 using cookies? 

The variant of TiddlyWiki5, from https://github.com/OokTech/TW5-Bob, is 
powerwd by Node.js and different intranet users can access it. 


It's annoying to set UserName everytime after a refersh in Chrome. Thank 
you.


something like


$:/status/UserName = document.cookie.split("; UserName=")[1]

document.cookie.split("; UserName=")[1] is a simple way to get the value of 
UserName in cookie.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6d24900-4986-4d5b-993e-68874b0a08a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to