cyberdaniel wrote:Stoney229 wrote:can there be a tab that tells you the stats for the specific game you're in??
There can be, and I actually have that implemented, however it is still unstable. By unstable, I mean that if too many games need to be stored, firefox will start deleting cookies to make up space. In my case it deleted the most important cookie, the one with the general stats.
CyberDaniel... Can I advise against storing in Cookies...
For AJAX BOB - (and indeed the previous BOB) the GM_setValue GM_getValue functionality is used...
What I would do is - check for cookie if it's there read it in - then save it with GM_setValue - then delete cookie.
Then read with GM_getValue... (if it's still blank then assume no stats...)
For examples on how these functions work - then feel free to look at BOB and check out functions SERIALIZE & DESERIALIZE - and also most of the "snapshot" functions (at the bottom of the script) use these functions too.
C.