BUT I HAVE TAKEN OVER THIS SCRIPT LIKE SO MANY OTHERS AND WILL CONTINUE TO DO SO UNTIL I RULE THEM ALL!
enjoy.
Very Important Note: If you install the script and jump three times in the air, as high as you can, there should appear a blue button in the lower right corner of your review screen. Click that. If it doesn’t work: keep jumping. How to ANKI - press SPACE to reveal answer - press 1 to mark as correct - press 2 to mark as incorrect
Features (v1.6) - Cycle through three different modes: Off (default), On and Auto Start - Auto Start Mode: reviews stay in Anki Mode until WK dies or you turn it back off (whichever comes first)
How to install - Make sure you have the Greasemonkey (Firefox) or Tampermonkey (other browsers) add-on installed, so you can enjoy userscripts.
Hmmm… I think we have a bug here? In this kanji https://www.wanikani.com/kanji/%E8%BC%94 nanori reading is used and the script shows on’yomi reading. Could you do something about it?
embe said...
Hmmm... I think we have a bug here? In this kanji https://www.wanikani.com/kanji/%E8%BC%94 nanori reading is used and the script shows on'yomi reading. Could you do something about it?
wow, didn't even know they actually implemented any of those nanori's. I'll have a look.
embe said...
Hmmm... I think we have a bug here? In this kanji https://www.wanikani.com/kanji/%E8%BC%94 nanori reading is used and the script shows on'yomi reading. Could you do something about it?
So *theoretically* I solved the problem, but I can't really test it because I've never had a nanori reading kanji before.
[programming stuff] The problem is I don't know the 'emph' property of an kanji that has such a nanori reading. That property is the only way I can know which reading is asked. [/programming stuff]
If it still returns the wrong reading (defaults to on'yomi) I'll need you to do this for me: - Right click on the review screen with that particular nanori kanji and select 'Inspect' - Navigate to the 'console' tab at the top of whatever box just appeared - Type in $.jStorage.get("currentItem").emph - Hit ENTER with the force of a thousand hulk smashes - Tell me what the console replies - Possibly buy a new keyboard and desk if you did step 4 correctly
But I don't think that'll be necessary. I sorta guessed what the property name was.
Very useful, I made a modification which uses Anki mode only for meaning and normal mode for reading (the check by wanikani is useful here imo). Will provid a patch in a few days, have to cleanup my awful code first
But I’ve already had a few web things I’ve made be used by ridiculous numbers of people (saw someone on the bus using a thing I made on a website!) so IT CAN HAPPEN. Well at least I made them bob their heads a bit.
You managed to get me to press space, 1, enter, space, 2, etc etc. when I wouldn’t have! You could’ve made everyone type 3 or 4 or Q or W but you made us type 1 and 2.
I meant “did you actually jump when installing it” ;p
But hey, that’s really cool! Making real stuff and seeing others use it is the best part about programming imho. Apart from these user scripts I haven’t really made anything for others yet. I keep making excuses about it ^^
I made a slight change for myself that may be of use to others when reviewing kanjis.
or to show if wanikani is asking for onyomi or kunyomi when answer has not been shown
shows the answer (in a list if multiple)
shows the other reading (in a list if multiple)
or for correct or incorrect once the answer has been shown
Um. Suddenly this is all over the place. The correct and incorrect buttons keep switching places. Meaning, sometimes when I click 1, it marks the answer as correct, sometimes it marks it as incorrect. O__O I suppose this might have something to do with Firefox’s update or me changing to Tampermonkey.