您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes furigana from copy and paste text.
// ==UserScript== // @name jisho.org Remove Furigana From Copy Paste // @namespace kaziocore // @version 1.2.0 // @description Removes furigana from copy and paste text. // @author https://github.com/philipnery // @license MIT; http://opensource.org/licenses/MIT // @match https://jisho.org/* // @grant none // ==/UserScript== (function() { 'use strict'; document.addEventListener('copy', function (e) { e.preventDefault(); const furiganas = document.querySelectorAll('.furigana, .japanese_word__furigana_wrapper'); for (let i = 0; i < furiganas.length; i++) { furiganas[i].style.display = 'none'; } e.clipboardData.setData('text', window.getSelection().toString()); for (let i = 0; i < furiganas.length; i++) { furiganas[i].style.removeProperty('display'); } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址