Redirect to Google Translator - Forced

Instantaneously redirects you to https://translate.google.com if you search for the word "translator" using your native language.

Zainstaluj skrypt?
Skrypt zaproponowany przez autora

Może Ci się również spodobać. Redirect to Google Translator

Zainstaluj skrypt

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Redirect to Google Translator - Forced
// @namespace    https://greatest.deepsurf.us/en/users/670188-hacker09?sort=daily_installs
// @version      3
// @description  Instantaneously redirects you to https://translate.google.com if you search for the word "translator" using your native language.
// @author       hacker09
// @include      *://www.google.*
// @icon         https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://translate.google.com/&size=64
// @run-at       document-start
// @grant        none
// @noframes
// ==/UserScript==

(function() {
  'use strict';
  if (location.href.match(/tradutor|^.+trad&.+$|translate|translator|traductor/) !== null) //If the url has the words "tradutor" or "trad" or "translate" or "translator" or "traductor"
  { //Starts the if conditon
    window.location.replace("https://translate.google.com"); //Redirect to https://translate.google.com
  } //Finishes the if conditon
})();