Treeki / MeteoNook

weather prediction tool for Animal Crossing: New Horizons
GNU Affero General Public License v3.0
279 stars 59 forks source link

Import JSON possible #48

Open evlua1999 opened 3 years ago

evlua1999 commented 3 years ago

I needed to delete my cookies, so I exported my data as JSON. Is there a way to import the JSON-File?

JKDos commented 3 years ago

Do you have your seed yet? If so, just write it down.

tobeannouncd commented 3 years ago

I've created a bookmarklet that'll let you paste in your JSON backup to restore your data. Highlight the code below and drag it to your browser's bookmark bar. Then go to MeteoNook and click on the bookmark. It'll prompt you to paste in your JSON backup data.

javascript:void%20function(){var%20e=JSON.parse(prompt(%22Paste%20your%20JSON%20backup%20here%22));localStorage.meteonook_sf_days=JSON.stringify(e.days),localStorage.meteonook_sf_hemisphere=e.hemisphere%3F%22s%22:%22n%22,location.reload()}();