[Userscript]: Double-Check Workaround

Yeah, it didn’t complain for me when I disabled everything else to try testing just this, but it also didn’t create the button.

Do you get the button showing up if you deactivate all the other scripts but these two or still no?

I don’t want to just re-quote what I quoted last time, because I think there must be a communications breakdown, so let me turn it back to you: what would you like me to check that I haven’t already described in the quotes above that would make you feel like I could answer yes to your question? Like actually deleting off my browser all but those two userscripts rather than just deactivating them?

Ah, sorry, I think I must have misread your reply. I thought you were saying you tried deactivating the WaniKani Open Framework and that the other scripts you had complained about it, when I was asking if you had tried disabling all other scripts except this one and the Open Framework and if you saw any difference.

But if you tried that and you still didn’t get the button showing up then likely this script isn’t loading properly.

@thastegartivelis do you have Safari to test?

Unfortunately no, I don’t have safari, so I haven’t been able to even start debugging that route.

I’m aware of the info not loading issue. I don’t have a workaround for it yet, but I think because the double-check script doesn’t submit for real wanikani doesn’t get the data for the item you just tried to submit. I think that’s why it loads the wrong information later. It pulled in what you wanted after you wanted it, then didn’t update for the new item.

Answering wrong is probably related to checks around if there is a meaning instead of a reading or a reading instead of a meaning. I haven’t really started debugging that one yet, but I’m aware of it.

Unfortunately I have my own couple hundred reviews to go through too so I have to put everything on hold for an hour or so, but luckily the script works enough for me!

1 Like

Thank you for all the work you did on this to get something usable! Really appreciate it.

@TreyE what does your URL say when you do reviews? I haven’t set up the matchers for the preview site, so if you’re using that version of the site that might be why it’s not working…

Well, just in case, I published a version that does catch the preview pages. Hopefully that helps.

My URL reads: https://www.wanikani.com/subjects/review

1 Like

Works perfectly now.

1 Like

I got the enter key to work again for final submits on version 0.1.0, so in theory, on devices where things are working, the bare-bones functionality should work without issue.

The next thing I want to dig into is styling or the info stuff, since I don’t know how to go about debugging safari.

As always, please let me know of any issues you run into, and if anyone has any ideas for debugging the safari issues please let me know.

1 Like

It seems that Item Information isn’t pre-populated, so Info can’t be shown before the answer is marked as either Right or Wrong on the server. Not sure how this script works, but if the server isn’t notified of being Right or Wrong, we can only get last Item’s Info, or connection error, if it is the first one.

An option is to build a custom Show Info from API, perhaps.

1 Like

Nice temporary fix, thank you so much for putting so many efforts in this. :pray:

Notice that I had to add the line

// @match https://www.wanikani.com/subjects/extra_study*

to the script to make it work on extra study sessions because the initial line

// @match https://www.wanikani.com/extra_study/session*

did not work for me. Maybe another side-effect of the latest Wanikani update?

So I panicked this morning because double check was not working. I now know it’s because they made a bunch of changes without saying anything on the website, but only on the forum ? I find this sooo annoying, I spent 2 hours trying to find the problem…
SO I installed this new double check work around and it does not work (I only have open framework activated).

But it does not work, everytime I have this " Can’t retrieve item info due to connection issues. Close and reopen the item info to try again." Can someone explain me please ? I just want to do my lessons :frowning:

I know have an update on my problem : I have the answer under the kanji… But only the last one, not the current one ! :cry: Like in this screenshot

2 Likes

I have loaded the workaround but it does not work, no undo button at all. I am using Firefox 107.0 on Fedora Silverblue.

Yes, this would absolutely be related to the wanikani update. I’ll get this into the published version.

1 Like

I have same problem. I had to disable the app to check actual meanings.

In update 0.2.0, it looks like I got the info to load properly for the current item. Let me know if you have any issues with it.

As a quick note, I got some of the styling and animations to work as well. They don’t work in every case but you should more frequently see shakes and messages telling you what you did wrong.

2 Likes

I appreciate so much your hard work on this, thank you! WK is simply unusable for me without this basic feature.

Apologies if this has already been brought up- when I use the script (latest Firefox on Mac) it doesn’t allow me to see the details (radical, reading, meaning, etc.)

Which version of the script are you using? If you look at the comment right before yours, the most recent version should load the info correctly. I’ll confirm it on my end just in case though.