AnkiTruePersistence

AnkiWeb addon 92595818

Persists specified localStorage data across Anki restarts by saving it to a media file and reloading it on the first reviewed card, with mobile read-only support.
AI-generated summary; may contain mistakes.

card-templatesdeveloper-toolsmobile-compatible

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2023-05-31
Anki versions
2.1.64~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1219 days before the snapshot (2023-05-31).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.222.1.64+2023-05-31
History across monthly snapshots

Loading…

Similar addons

Kanji Draw Persistence

Persists card template settings across Anki Desktop restarts by saving them to a JSON file and re-injecting them before template scripts run.

card-templatesbugfix-workaround

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 4 Anki 2.1.66~ Updated 2026-04-09

README

ankitruepersistence

Allows for true persistence of localstorage data after closing and reopening anki, as well as mobile support for reading (but not writing) of the localstorage data.

It works by saving localstorage key/value pairs starting with phrases defined in the addon configuration as __persistentlocalstorage.js in the users media folder, and then calling the script on the first reviewed card to load the values back into localstorage.

This can be used to change card field values functionally permanently through javascript in the card template. It can be used to remember the slide you were on in an embedded powerpoint, show you randomized items with replacement across review sessions, show you the number of times you have clicked a button on the card, etc.

It is also compatible with syncing across Ankihub decks.

To download, see here

If you like this and would like to donate, all funds will be routed to feeding my child and trying not to fail my medical school exams. https://www.paypal.com/donate/?business=JQL7U4PMGHPKS&no_recurring=0&item_name=Thank+you+%21&currency_code=USD