您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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'); })();