Translator

Press (F2) to Translate.

27.10.2020 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @version 4.0.2.2
// @author wack.3gp
// @copyright 2019+ , wack.3gp (https://greasyfork.org/users/4792)
// @description Press (F2) to Translate.
// @description:de Drücken Sie (F2) zum übersetzen.
// @include *://*
// @exclude *greasyfork.org/*scripts/4610-*
// @exclude *greasyfork.org/*scripts/4610/*
// @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/
// @name Translator
// @name:de Übersetzer
// @namespace https://greasyfork.org/users/4792
// @supportURL https://greasyfork.org/scripts/4610/feedback
// @compatible Chrome tested with Tampermonkey
// @grant GM_notification
// ==/UserScript==

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");
}
// ===============

// ==Key==
document.onkeydown = openPage;

function openPage(e) {
  e = window.event ? event : e;
  if (e.keyCode == 113) {
    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",
      onclick: function () {
        location.href = GM_info.script.supportURL;
      },
    });
    console.log("Post a review, comment, or question\n" + GM_info.script.supportURL + "\n\nCopyright " + GM_info.script.copyright);
  }
}
// ==============