Simple fix of broken add-ons for the latest Anki (by Shige)

Hey Shige. This is a fix you already made for the LifeDrain addon once long ago. I was wondering if you would make it accessible on Ankiweb instead of your Google Drive.

1 Like

That’s intentional, LifeDrain’s authors are active so they can update the add-on if I send them the code from Girhub, so there is no need to develop and upload new add-ons to AnkiWeb, if the author is no longer active there is no way to update the add-on so I need to upload it to AnkiWeb.

1 Like

Hi, I am not sure if this is easy to fix but this add-on doesn’t seem to work with new versions of Anki: Inline media [Support thread]

1 Like

Hi thanks for the request. If I remember correctly this add-on worked fine with the latest version of Anki, do you have an error report?

User’s request

The addons “Review Lookup” and “popup dictionary” could do this. But they have been removed from the addons section and may need to be fixed.

1 Like

The developer fonol seems to have removed all the add-ons, he had developed some popular add-ons(e.g. Searching PDF) but had not updated them in the last few years so maybe he is too busy and discontinued the development of Anki’s add-ons.

  1. Searching PDF Reading Note Taking: This add-on has already been forked by another developer. → https://ankiweb.net/shared/info/572933442
  2. Review Lookup: The code is available on Github, I’ll re-upload it later.
  3. Tag Statistics: I already fixed and uploaded it. → https://ankiweb.net/shared/info/1269070743
  4. Graph view: I already fixed and uploaded it. → https://ankiweb.net/shared/info/1068714931
  5. Random Sprites: I already fixed and uploaded it. → https://ankiweb.net/shared/info/1956685960

If I remember correctly, I think there were one or two more, maybe not, I don’t remember.

Reupload is complete and I added UI and some options and optimized the calculations, the quick search was difficult to use when editing cards so the default has been changed to search from the right-click menu. add-on: :magnifying_glass_tilted_left:Review Lookup - Search and Popup cards by selected text (Customize by Shigeඞ)

1 Like

Hi @Shigeyuki, would you mind taking a look at the Editor Live Preview add-on? It partially broke with the last few security-focused updates, with JavaScript from note templates no longer loading. Perhaps there is an easy fix available? Thanks!

1 Like

Hi, thanks for your request. As mentioned in the comments on the add-on page, does Anki 25.02.4+ or the already existing repair version not work?

Sorry, should have specified that – no, it does not work on the most recent Anki version (25.02.5), and if by the repair version you mean this fork then no, it does not work either. If you need a test notetype for an example of JavaScript not working, you can check out this one and see that neither pitch coloring nor toggling definitions works with the Editor Live Preview compared to the regular preview.

There’s not much activity in the github repo either, so doesn’t seem like they are likely to fix it anytime soon.

1 Like

@eroscard
Hi it seems Editor Live Preview has already been repaired by you, is it possible to add support for a template as 2mcm2 says?

I saw that this addon had stopped working in version 25.02.1, but then it started working again in the most recent versions, so it was just a temporary adjustment. I’ll see what can be done, if it’s possible to get the template and show it in the editor or if it’s possible to show what’s in the proofreader directly in the editor.

2 Likes

I updated the addon there, testing it on the template you provided, test it there to see
https://ankiweb.net/shared/info/1564465777

1 Like

Thanks for giving it a try, but there seems to have been a misunderstanding. You tried to adapt the add-on for that specific note template now it seems like? It’s not what I meant, sorry if that was unclear.

The issue is that the Editor Live Preview add-on stopped rendering/loading JavaScript in general with the latest Anki updates. Previously any JavaScript (in any note template) ran exactly the same as it does in the regular preview window. With the latest Anki updates however, this stopped being the case.

That linked example note template was just an example to illustrate a case of JavaScript not working with the add-on.

No, I tested it with other templates too, but you can send me a specific template that isn’t working and I can test it too.

1 Like

The original add-on is only 160 lines with 8 import statements, while your version is 810 lines with 22 import statements. I don’t know what you tried to do, but I don’t think you are on the right path.

If it doesn’t work with Anki 25.02.4 ~ 25.05 this javascript problem may be due to something else, so I think it will take some time to find out. I recommend that you post more info in the Issues of the original add-on Github, the original author is not very active but will read it when another developer looks into it.