WK Override - fixed for Greasemonkey


#1

I just switched from Chrome to Firefox and noticed that WaniKani Override (the userscript that allows you to ignore incorrect answers in reviews) wasn’t working with Greasemonkey.

So I fixed it: download here

If you’re curious, Greasemonkey seems more strict about security than Chrome. It was missing a @grant for unsafeWindow, and you can’t add handlers to elements using unsafeWindow’s jQuery, and the key code it was listening for is wrong (192, not 191, both Chrome and Firefox are 192, so both of the cases were incorrect).

Here’s a diff.

I didn’t really bother to change any of the comments beyond incrementing the version number. I didn’t do any refactoring either, if it breaks again I might spend a bit more time on it, but I just wanted to get it working.

Edit: 6/6/15 - fixed download link.


What do you want now? (Request extensions here)
What do you want now? (Request extensions here)
What do you want now? (Request extensions here)
[Request] I REALLY need this
Wanikani Override Userscript 1.1.2 ("Ignore Answer" Button) [No longer supported]
True necessity of user synonyms after a long break
[UserScript] WaniKani Lightning Mode
Clear not the Review pile, but the Apprentice Pile
Wanikani Override Userscript 1.1.2 ("Ignore Answer" Button) [No longer supported]
Wanikani Override Userscript 1.1.2 ("Ignore Answer" Button) [No longer supported]
Wanikani Override Userscript 1.1.2 ("Ignore Answer" Button) [No longer supported]
Answer Pass?
Answer Pass?
Answer Pass?
Answer Pass?
Answer Pass?
Answer Pass?
What happened to the "ignore button" script?
What happened to the "ignore button" script?
#2

I can’t seem to get this to work. The button doesn’t show up.


#3

working again for me - many thanks - had to click the greasemonkey button at the top right of the screen and tick the override line - now working


#4

it is working in chrome / tampermonkey, thanks a lot.


#5

the “download here” link doesnt seem to exist anymore… does anyone have an alternate link?


#6

@flojomcfly
https://greasyfork.org/en/scripts/9867-wanikani-override

i hope this works. i just copied if from the diff and uploaded it onto greasyfork, so it should.


#7

@ShotgunLagoon

Thank you! 


#8

does this also work on vocab?


#9
corola10 said... does this also work on vocab?
 I'm using the original, so yes.

#10

The keybinding is broken in Chrome for me. 191 works. 


#11
protake said... The keybinding is broken in Chrome for me. 191 works. 
What does this mean? My Override (Chrome) has stopped working since it was updated 24h ago. :-(

No more reckless typing for me!

#12
EskimoJo said...
protake said... The keybinding is broken in Chrome for me. 191 works. 
What does this mean? My Override (Chrome) has stopped working since it was updated 24h ago. :-(

No more reckless typing for me!
He's referring to the number that should be located on line 251 in the script's code. If you edit it manually and change the number from 192 to 191, perhaps it'll work for you as well.

#13
Inserio said...
EskimoJo said...
protake said... The keybinding is broken in Chrome for me. 191 works. 
What does this mean? My Override (Chrome) has stopped working since it was updated 24h ago. :-(

No more reckless typing for me!
He's referring to the number that should be located on line 251 in the script's code. If you edit it manually and change the number from 192 to 191, perhaps it'll work for you as well.
I went to look at it and... 'This script was deleted from Greasy Fork, and due to its negative effects, it has been automatically removed from your browser.'

Oh...

#14

Re-added it from the Greasyfork link in this thread. Sorted now!


#15

Apologies for the bump – anyone here suddenly find this script stopped working? I can’t figure out what could have changed.

Using Safari with greasemonkey. Tried turning off all other scripts and also reinstalling, no dice.


#16

Hey again – found the other thread, which advised to install the latest version of Tampermonkey. That fixed it!


#17

OMG thank you  助かった