您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Moves the context sentence to the top when you open the full info of a vocabulary item.
// ==UserScript== // @name Wanikani: Move context sentence to top // @namespace http://tampermonkey.net/ // @version 0.1.3 // @description Moves the context sentence to the top when you open the full info of a vocabulary item. // @author Kumirei // @include *wanikani.com/review/session // @include *preview.wanikani.com/review/session // @grant none // ==/UserScript== (function() { let style = document.createElement("style"); style.innerText = "#item-info-col2 { display: inline-grid; row-gap: 40px; }" + "#item-info #item-info-col2 section, #item-info-col2 section *:last-child { margin-bottom: 0; }" + "#item-info-context-sentences { order: -1; }"; document.head.appendChild(style); })();