Use localStorage

Now the activity persists when it runs in a standard browser.