Zzz (not maintained & may not work) Default Easy Review Helper

AnkiWeb addon 815985411

Adds a defease command that uses JavaScript to press the default review button, enabling keyboard-free actions and auto-skipping the back side for correct typed answers.
AI-generated summary; may contain mistakes.

review-flowcard-templatesquizobsoletebeta

Open on AnkiWeb Ask about alternatives

AnkiWeb

Rating
2 (๐Ÿ‘ 2 ยท ๐Ÿ‘Ž 0)
Updated
2019-07-07
Anki versions
unknown
Description language
en

Maintenance

abandoned

  • Last update or commit was 2643 days before the snapshot (2019-07-07).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0โ€“2019-07-07
History across monthly snapshots

Loadingโ€ฆ

Similar addons

Description

An experimental very simple add-on prototype made by request. It's entirely based on Replay buttons on card . It only adds "defease" command. The add-on can be used to press the default button using JavaScript by calling pycmd("defease") instead of using Space or Enter. It's similar to pycmd("ans") to show the back side of the card or pycmd("ease3") to press 3rd button (usually it's Good, but can be Easy if it's a learning card). For example, <script>pycmd("ans")</script> on the Front Template and no {{FrontSide}} on the Back Template can be used to create something similar to one-sided flashcards, but only on the desktop version of Anki. The add-on can be used with typing cards to automatically skip the back side of the card and move to the next card if the typed answer was correct. But to do it, it's necessary to add at least the following code to the back side of the card: <script> var typeans = document.getElementById("typeans"); if (typeans) { var incorrect = typeans.querySelector(".typeBad, .typeMissed"); if (incorrect == null) { pycmd("defease"); } } </script> But the back side of the card will still be shown for a second and as a quick workaround something like this can be done instead: 1. Wrap the Back Template with <div class="back">. <div class="back"> {{FrontSide}} <hr id=answer> {{Back}} </div> 2. Add the following JavaScript code to the Back Template. <script> if (document.documentElement.classList.contains('mobile') == false) { var typeans = document.getElementById("typeans"); if (typeans) { var incorrect = typeans.querySelector(".typeBad, .typeMissed"); if (incorrect == null) { pycmd("defease"); } else { document.querySelector(".back").style.visibility = "visible"; } } } </script> 3. Add the following CSS code to the Styling: html:not(.mobile) .back { visibility: hidden; } Maybe sometime later it'd be better to make new add-on, don't use CSS and JavaScript and don't show the back side of the card if the typed answer was correct. Nickolay <kelciour@gmail.com>