AnkiTruePersistence

AnkiWeb addon 92595818

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

card-templatesdeveloper-toolsmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (👍 1 · 👎 0)
Updated
2023-05-31
Anki versions
2.1.64~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-05-31 (1250 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

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

Asset Manager

Centralizes JavaScript and HTML template management, letting you insert reusable scripts into note templates, apply conditions, and update code across all card types from one place.

card-templatesdeveloper-tools

11 votes 52% approval 👍 9 · 👎 2 ⭐ 6 Anki 2.1.47~ Updated 2021-08-29
Addon Config Sync archived

Syncs add-on config files across devices by storing copies in Anki's media folder, with a manager to compare, save, overwrite, filter, and choose sync modes.

backup-maintenance

4 votes 51% approval 👍 4 · 👎 0 ⭐ 3 Anki 25.09.2~ Updated 2026-03-10

Description

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. For support, see here: https://github.com/connwork/ankitruepersistence 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

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