[Userscript] Self-Study Quiz

I hope you don’t mind me creating a mirror?..

That’s fine, I just wanted to be sure you noticed the message. And while you’re at it, here’s some more info. What I meant is that this block is executed for both meanings and readings. Along with this line:

quiz.gender = (quiz.gender === 'female' ? 'male' : 'female');

Which makes the default mode pointless. What you probably want is:

-if (qinfo.item.type === 'vocabulary') {
+if (qinfo.item.type === 'vocabulary' && qinfo.answer.type == 'reading') {

What do you think the button could look like (appearance and location)?

And the click-to-open patch.

1 Like