Greasy Fork is available in English.

Wanikani Forums: Latest page's new replies alert autoclick

Hides and automatically click the alert for new threads and replies on the "latest" page so that the threads just pop up.

// ==UserScript==
// @name         Wanikani Forums: Latest page's new replies alert autoclick
// @namespace    Wanikani Forums: Latest page's new replies alert autoclick
// @version      0.1.2
// @description  Hides and automatically click the alert for new threads and replies on the "latest" page so that the threads just pop up.
// @author       Kumirei
// @include      https://community.wanikani.com*
// @require      https://greasyfork.org/scripts/432418-wait-for-selector/code/Wait%20For%20Selector.js?version=974318
// @grant        none
// ==/UserScript==

;(function ($, wfs) {
    $('head').append('<style id="AutoClickLatestAlert">.show-more.has-topics {display: none;}</style>')
    wfs.wait('.show-more.has-topics', (e) => {
        $('.show-more.has-topics .alert').click()
    })
})(window.jQuery, window.wfs)