您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
this script make pages of scrapbox.io to be translated with google translate
// ==UserScript== // @name scrapbox.io google translate EN // @description this script make pages of scrapbox.io to be translated with google translate // @include https://scrapbox.io/* // @version 0.0.1.20230718230408 // @namespace https://greasyfork.org/users/1130197 // ==/UserScript== scrapbox.PopupMenu.addButton({ title: '日本語⇒英語', onClick: text => window.open(`https://translate.google.com/#ja/en/${text}`) }) scrapbox.PopupMenu.addButton({ title: '英語⇒日本語', onClick: text => window.open(`https://translate.google.com/#en/ja/${text}`) })