If i have an app in FF Market how can i save when user get achivments from my app...

so, i made an app on FF market called R.C.P. (rock paper scissors) but i want if player won 5 times, 50 times, 500 times etc, to get an achivment BUT when he run again the app he can see his achivments.. if he restart the application the achivments will dissapeard....

so, i made an app on FF market called R.C.P. (rock paper scissors) but i want if player won 5 times, 50 times, 500 times etc, to get an achivment BUT when he run again the app he can see his achivments.. if he restart the application the achivments will dissapeard....

hello, use a technology like localstorage to save the achievements and/or other settings: https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Storage
some general ressources for webapp developers:
<br>https://developer.mozilla.org/en-US/docs/Web/Apps
<br>https://marketplace.firefox.com/developers/docs/game_apps