您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide context sentences until hovered.
当前为
// ==UserScript== // @name WaniKani Hide Context Sentence // @namespace rfindley // @description Hide context sentences until hovered. // @version 1.0.2 // @include https://www.wanikani.com/review/session* // @include https://www.wanikani.com/lesson/session* // @include https://www.wanikani.com/vocabulary/* // @include https://www.wanikani.com/level/*/vocabulary/* // @copyright 2015+, Robin Findley // @license MIT; http://opensource.org/licenses/MIT // @run-at document-end // @grant none // ==/UserScript== wkhcs = {}; (function(gobj) { var css = '.context-sentence-group p:not([lang="ja"]):not(:hover) {'+ ' background-color:#ccc;'+ ' color:#ccc;'+ ' text-shadow:none;'+ '}'; //------------------------------------------------------------------- // Add a <style> section to the document. //------------------------------------------------------------------- function addStyle(aCss) { var head, style; head = document.getElementsByTagName('head')[0]; if (head) { style = document.createElement('style'); style.setAttribute('type', 'text/css'); style.textContent = aCss; head.appendChild(style); return style; } return null; } addStyle(css); }(wkhcs));
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址