This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.
This is a continuation of a userscript of the same name by @evolutionxbox, who appears to have gone inactive.
To recap what the original version did:
Upon achieving a 100% accuracy in your reviews, you will be given the opportunity of experiencing dopamine by having WaniKani play some sound on the review summary page!
My edition incorporates the following changes/fixes:
- Autoplay now works again, at least in Chrome (tested with
v101
). - The fanfare will play only once.
- Previously it played each time you opened the review page, provided you got an accuracy of 100%.
- Can be toggled if you wish.
- Play confetti in addition to the fanfare!
- Change the fanfare to something of your choice!
- Accepts either base64 encoded data or an URL to a valid MP3 file.
- Local file URLs might work, provided you give local file access to your user script Add-in.
- Be aware that this can pose a security risk that malicious scripts could exploit.
- Accepts either base64 encoded data or an URL to a valid MP3 file.
- Userscript menu for easily managing all of the above.
Download
Greasemonkey URL https://greasyfork.org/en/scripts/446584-wanikani-100-review-fanfare
Install the script with an user script Add-On of your choice, such as TamperMonkey.
Consult this guide if you are unsure.
Changing the sound
By default, the BotW item fanfare will play.
To change the sound, it’s recommended to encode a sound file as b64:
- Go to this website.
- Set
Output Format
toData URI
. - Upload your file, press Encode.
- Copy all of the content in the Base64 text field.
- Open the script menu (click on your Userscript Add-in in the browser menu), selecting Set jingle.
- Paste the contents you copied previously into the text field:
You can test your fanfare by selecting Preview jingle in the menu.
If the sound fails to play, then your browser either blocks autoplay or your data source is invalid.
(Bad encoding, bad file URL etc.)
Bugs and Feedback
Please report bugs directly in this thread.
Notes
This has been a side-project of mine during my military service, where sitting around doing nothing is the norm.
(At least in switzerland :P)
The script works, although I guess the UI/UX could be improved.
If I find the time, I’ll consider adding a much nicer menu that can be natively access in WaniKani through the Scripts submenu - as most other scripts do as well.