Translator

Press (F2) to Translate.

安装此脚本?
作者推荐脚本

您可能也喜欢Amazon Smile redirect

安装此脚本
  1. // ==UserScript==
  2. // @version 4.0.4.4
  3. // @name Translator
  4. // @name:de Übersetzer
  5. // @description Press (F2) to Translate.
  6. // @description:de Drücken Sie (F2) zum übersetzen.
  7. // @author JAS1998
  8. // @copyright 2019+ , JAS1998 (https://gf.qytechs.cn/users/4792)
  9. // @namespace https://gf.qytechs.cn/users/4792
  10. // @icon https://translate.google.com/favicon.ico
  11. // @supportURL https://gf.qytechs.cn/scripts/4610/feedback
  12. // @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/
  13. // @noframes
  14. // @compatible Chrome tested with Tampermonkey
  15. // @contributionURL https://www.paypal.com/donate?hosted_button_id=9JEGCDFJJHWU8
  16. // @contributionAmount €1.00
  17. // @grant GM_notification
  18. // @match *://*/*
  19. // @exclude /^[a-z]{4}.*\/greasyfork\.org\/.*\/4610.*$
  20. // ==/UserScript==
  21. /* jshint esversion: 9 */
  22. document.onkeydown = openPage;
  23. function openPage(F2) {
  24. if (GM_info.script.copyright.includes(GM_info.script.namespace)) {
  25. F2 = window.event ? event : F2;
  26. if (F2.keyCode == 113) {
  27. location.href = "http://translate.google.com/translate?sl=auto&u=" + window.location;
  28. GM_notification({
  29. title: GM_info.script.name,
  30. text: "Post a review, comment, or question",
  31. timeout: "10000",
  32. onclick: function () {
  33. location.href = GM_info.script.supportURL;
  34. },
  35. });
  36. }
  37. }
  38. else {
  39. location.href = GM_info.script.supportURL.replace("feedback", "");
  40. alert("Please install the Orginal Version");
  41. }
  42. }
  43. if (window.location.host.includes('translate.google')) {
  44. console.log("Post a review, comment, or question\n" + GM_info.script.supportURL + "\n\nCopyright " + GM_info.script.copyright);
  45. }
  46. // ==============

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址