13 0
Sign in to rate

JS Booster

0.01MB. Updated 2014-11-02. Only supports Anki 2.0.x.
The author has shared 2 other item(s).


Fixes an issue with Anki's behavior, that made JavaScript less useful than it is on AnkiDroid: Without this fix, Anki retains JavaScript between reviews of different cards, ending up with a window with many instances of the same scripts. Also, the fix enables the use of JavaScript files in the media folder of the collection. The latter effect can be used to include a MathJax distribution in the collection to have nicely scaling formulas on ones cards. MathJax formulas can be edited on AnkiDroid and will be translated when displaying the card. Thus, you can edit formulas without a LaTeX distribution. The addon also enables the use of cookies on cards, which can be used for more advanced card behavior. This is not currently compatible with AnkiDroid.


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons


on 1608834116
Hi. There isn't any contact author button, so I'm posting this as a review. There doesn't seem to be any button to click on to download this. Am I missing something?
on 1595845918
Very nice.
on 1565325618
I have no knowledge about javascript but several add-ons require this.
on 1492214400
An essential tool for anyone thinking about using Javascript with Anki

If you're planning on using any type of advanced Javascript to supplement your Anki experience then this add-on is absolutely essential. There are quite a few issues with Javascript in Anki and this modification fixes most of them.

NB: If you are having issues with the add-on make sure to check if other add-ons don't interfere with it. In my case I had to edit the 'Handy Answer Keys Shortcut' add-on and disable a few keys that would jump to the next card without showing the answer first.

Edit: If you'd like to extend this add-on's functionality to the Browser preview window you can install my complimentary add-on → https://ankiweb.net/shared/info/19206336

(I would love to file a pull request to get this integrated into the main add-on, but I wasn't able to find any references to a code repository)
on 1487203200
It works ... very poorly.

This addon did fix the js problem, but it did it so poorly. It's very poorly optimized, between every card review, the card takes 1-2 second to show up, and no, it's not because I'm using heavy js scripts, I even removed all my js files and all other addons, and it still happens! Which prompts me to believe that this addon is the culprit, so I'll have to look elsewhere!
Thanks for your work nonetheless!
on 1483660800

Finally I can customize my card with JS flawlessly.
on 1479340800
Works excellently, a minor code issue

This add-on enables to run the external *.js code, both offline on PC local file and online js service(such as mathjax).

If your anki profile name uses character which is not in ascii code, it may have problem loading files and errors such as:
File "C:\Users\USRNAME\Documents\Anki\addons\jsbooster\location_hack.py", line 15, in getBaseUrlText
base = prefix + mdir.encode("utf-8") + "/"
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 31: ordinal not in range(128)

I had two PC running it and one used non-alphabet profile name, so it did not work. After I changed my profile it works perfectly fine.
on 1471478400

I've ben banging my head against the wall all day. I just recently learned HTML and CSS and I've been practicing with Anki. Needless to say, it wasn't working. Until I loaded your add-on off course!
on 1448841600

It solved my problem of pop up of the Bible verses.

I was desperately looking for it. God has used his skill to help me. God bless!

Praise God.