When I write code, I do so for my own amusement. I don't upload to a server or have my own website. I recently wrote a code which has quite a long run time (on average) and was just wondering if there's any way I can locally store a variable or two, without the use of cookies or other methods for storing info on a server. For example:
// On first run, declare variable
var rise=0;
// Do something with it when the page is open
setInterval('rise++;',10);
// And then store the value somehow when I close the browser
browser.onClose(locallyStore('keyname',rise));
So that when I refresh the page or come back to it another day, the old value will be plugged back in and it will continue running from where I left off...
Thnx!