Where the ticks are stored
Each milestone card in pages/index.js uses the use-local-storage-state package (version 9.0.2) to keep one number per quest. That package writes the value to the browser's localStorage as JSON, under a key built from the quest name:
milestone.Catch Fish → 2
milestone.Tame Wildlife → 4
milestone.Search Chests → 0
Nothing is sent anywhere. The value never leaves your browser unless you copy it out yourself.
What the stored number means
The number is the position of the highest tier you've ticked, counting from zero:
- No key or -1: no tiers ticked. A quest you've never touched has no key at all.
-1appears after you untick everything. - 0 to 4: tiers 1 to 5. A value of
2means tiers 1, 2 and 3 are ticked.
That's why clicking a tier ticks every tier before it, and why clicking your highest ticked tier again unticks just that one. The code stores a single "done up to" position, not five separate flags.
Why progress can seem to disappear
Browsers keep local storage separately for each origin, meaning the scheme, host and port together. With FN Tracker that has some practical effects:
- Another port is another origin.
localhost:3000andlocalhost:3001don't share data. - A hosted copy is separate from your local one, even in the same browser.
- Different browsers and browser profiles each keep their own storage.
- Private or incognito windows throw their storage away when you close them. If storage is blocked entirely, the package falls back to keeping values in memory until you reload.
- Clearing site data or cookies for that address deletes the ticks too.
- Renaming a quest in config.js changes its key, so that quest starts empty. The old key is still stored, just unused.
Looking at the data yourself
Open FN Tracker, then open the developer tools with F12 (or Cmd + Option + I on a Mac):
- Chrome and Edge: Application tab → Storage → Local storage → your FN Tracker address.
- Firefox: Storage tab → Local Storage → your FN Tracker address.
You'll see one row per quest you've touched. You can edit or delete values there, then reload the page.
Backing up your ticks
FN Tracker has no export button, but the browser console can copy everything in one line. With FN Tracker open, open the Console tab in the developer tools and run:
copy(JSON.stringify(Object.fromEntries(
Object.keys(localStorage)
.filter(k => k.startsWith('milestone.'))
.map(k => [k, localStorage.getItem(k)])
)))
copy() is a console helper in Chrome, Edge and Firefox. It puts the result on your clipboard. Paste it into a text file and keep it.
Restoring a backup, or moving to another browser
Open FN Tracker at the address you want to restore into, open the console, and paste your saved text in place of the placeholder:
const data = { /* paste your backup here */ };
Object.entries(data).forEach(([k, v]) => localStorage.setItem(k, v));
location.reload();
This is also how you move progress from your PC to a hosted copy on your phone. Restore the backup once on the phone's browser.
Only paste code you understand. The console runs whatever you give it on that page. The two snippets above only read or write keys that start with milestone..
Starting over
To clear everything, delete the milestone. rows in the storage panel, or clear the site data for that address in your browser settings. To reset a single quest, click its highest ticked tier repeatedly until no tiers are ticked.
Ready to try FN Tracker?
Download Now