您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Press (F2) to Translate.
当前为
// ==UserScript== // @version 4.0.3.7 // @name Translator // @name:de Übersetzer // @description Press (F2) to Translate. // @description:de Drücken Sie (F2) zum übersetzen. // @author wack.3gp // @copyright 2019+ , wack.3gp (https://gf.qytechs.cn/users/4792) // @namespace https://gf.qytechs.cn/users/4792 // @icon https://translate.google.com/favicon.ico // @supportURL https://gf.qytechs.cn/scripts/4610/feedback // @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/ // @noframes // @compatible Chrome tested with Tampermonkey // @contributionURL https://www.paypal.com/donate?hosted_button_id=9JEGCDFJJHWU8 // @contributionAmount €1.00 // @resource meta https://gf.qytechs.cn/scripts/4610/code/meta.js // @grant GM_notification // @grant GM_getResourceText // @include * // @exclude /^[a-z]{4}.*\/greasyfork\.org\/.*\/4610.*$ // ==/UserScript== /* jshint esversion: 9 */ if (GM_info.script.copyright.includes(GM_info.script.namespace)) { // nothing } else { location.href = GM_info.script.supportURL.replace("feedback", ""); alert("Please install the Orginal Version"); } // =============== document.onkeydown = openPage; function openPage(F2) { F2 = window.event ? event : F2; if (F2.keyCode == 113) { if (GM_getResourceText("meta").indexOf(GM_info.script.version) > -1) { location.href = "http://translate.google.com/translate?sl=auto&u=" + window.location; GM_notification({ title: GM_info.script.name, text: "Post a review, comment, or question", timeout: "10000", onclick: function () { location.href = GM_info.script.supportURL; }, }); } else { console.warn("Please download " + GM_getResourceText("meta").replace(/.*(?=v.*\d\D\d\D\d\D\d)/gims, '').split('/')[0] + GM_info.script.supportURL.replace("feedback", "")); GM_notification({ title: "Update", text: "Please download " + GM_getResourceText("meta").replace(/.*(?=v.*\d\D\d\D\d\D\d)/gims, '').split('/')[0], onclick: function () { location.href = GM_info.script.supportURL.replace("feedback", ""); }, }); } } } if (window.location.host.includes('translate.google')) { console.log("Post a review, comment, or question\n" + GM_info.script.supportURL + "\n\nCopyright " + GM_info.script.copyright); } // ==============
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址