Greasy Fork is available in English.

WaniKani Hide Listing Spoilers

Hide spoilers in the listings until hovered:

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         WaniKani Hide Listing Spoilers
// @namespace    https://www.wanikani.com
// @version      0.1
// @description  Hide spoilers in the listings until hovered:
//               - mnemonic -> name
//               - kanji -> reading & meaning
//               - vocabulary -> reading & meaning
// @author       Ao
// @include      *://www.wanikani.com/level/*
// @include      *://www.wanikani.com/kanji?difficulty=*
// @include      *://www.wanikani.com/radicals?difficulty=*
// @include      *://www.wanikani.com/vocabulary?difficulty=*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var characterItems = $('.character-item');
    characterItems.each(function(index) {
        var spoilers = $(this).find('a ul');

        $(this).hover(
            function() {
                spoilers.css('visibility','visible');
            },
            function() {
                spoilers.css('visibility','hidden');
            }
         );

        spoilers.css('visibility','hidden');
    });

})();