[Userscript] WK Anki Mode

This is the only way I have been able to catch up on 800 reviews in 1 day. Thanks!

2 Likes

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.

thank you my lazy ass needs this

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 :wink:

I think this is really cool, but as an Anki user I feel like I have to mention that marking an answer as incorrect is  1 in Anki not 2.

2 Likes

Love the script @Mempo! The jumping in the air part reminded me of a post I wrote awhile ago:

Lol, completely forgot I wrote that jumping instruction ;p

More importantly: DID YOU ACTUALLY DO IT?? Don’t sit too long at your desk eh!

I’m still learning app dev :sweat_smile:

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 ^^

Keep doing what you’re doing! All the best things are made when solving your own problems (or doing something for fun).

I made a slight change for myself that may be of use to others when reviewing kanjis.

:arrow_up: or :arrow_down: to show if wanikani is asking for onyomi or kunyomi when answer has not been shown
:arrow_right: shows the answer (in a list if multiple)
:arrow_left: shows the other reading (in a list if multiple)
:arrow_up: or :arrow_down: for correct or incorrect once the answer has been shown

how do I share the script?

Ideally on greasyfork.org

But people have also shared scripts via github or something similar.

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.

Yea, I’ve been notified of problems caused by the new FF update and Greasemonkey 4.0

Unfortunately I don’t have time to fix it now.

1 Like

I suppose you’re still busy. I’d love to have the script fixed, but take your time :slight_smile:

1 Like

I have been running it with Firefox and Violentmoney without any problems, so maybe that would help.

Really? I’m using the same combination, but it still happens to me. Maybe I should still give it another try.

Unfortunately, it is all way above my knowledge level. I use Anki mode maybe twice a week without problems.

1 Like