Zhongwen Anki Addon

Adds Anki Connect functionality to the Zhongwen browser extension

ავტორი
Garbaz
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
11
რეიტინგი
0 0 0
ვერსია
0.6
შექმნილია
29.07.2021
განახლებულია
29.07.2021
ლიცენზია
პ/გ
გამოყენებს მათ
ყველა საიტი

A userscript that adds Anki integration to the Zhongwen browser extension (Firefox, Chrome).

Warning: Only tested under {OS: Linux, Browser: Firefox, Userscript-Extension: Tampermonkey}. Uses GM_xmlhttpRequest, which might not be supported by your userscript extension.

Feel free to edit and redistribute this script as you please.

Requirements:

The Anki addon Anki Connect. I also would recommend using the addon Chinese Support Redux to fill out the remaining fields.

Setup (Important!):

At the top of the script, there are three const variables with which you have to set the name of the Anki deck, the card type and the field in that card type where to fill in the current word. See the comments above each const for more info.\ At the moment, this script only supports filling in the word into a single field, all other fields are left empty.

How to use:

When the Zhongwen pop-up dialogue is visible, press the q key on the keyboard. If no card for the currently highlighted word exists, a corresponding card is added. The Anki card browser then pops up (in either case), so you can fill out the remaining fields, or highlight the card for review or whatever else you want to do.

Options:

You can change the key and whether the browser should pop up. See the OPTIONS section in the script for details.