Translator

Press (F2) to Translate.

Från och med 2020-09-30. Se den senaste versionen.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

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

// ==VAR==
var jslink = "javascript";
// ==============

// ==Function==
    unsafeWindow.translate = function(){
        window.location="http://translate.google.com/translate?sl=auto&u="+window.location;
        };
// ==============

// ==Key==
document.onkeydown= openPage ;
function openPage(e) {
e= window.event ? event : e;
    if (e.keyCode == 113 ) {location.href=jslink+":translate()";}
}
// ==============