try to take over the world!
当前为
// ==UserScript==
// @name WK Smaller Lessons And Reviews Buttons
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://preview.wanikani.com*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
$($('.sitemap__section')[0]).before(
`<ul class="navigation-shortcuts">
<li class="navigation-shortcut navigation-shortcut--lessons" data-count="13">
<a href="/lesson">
<span>` + $('.lessons-and-reviews__lessons-button span').text() + `</span> Lessons
</a> </li>
<li class="navigation-shortcut navigation-shortcut--reviews" data-count="0">
<a href="/review">
<span>` + $('.lessons-and-reviews__reviews-button span').text() + `</span> Reviews
</a> </li>
</ul>`);
$('.lessons-and-reviews').remove();
$('.dashboard-progress').css('grid-row','1 / 3');
})();