您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Instead of using the small translator on https://google.com get redirected to https://translate.google.com
当前为
// ==UserScript== // @name Redirect to Google Translator // @namespace GoogleTranslatorRedirector // @version 0.2 // @description Instead of using the small translator on https://google.com get redirected to https://translate.google.com // @author hacker09 // @include *://www.google.* // @icon https://api.faviconkit.com/www.google.com/57 // @run-at document-end // @grant none // @noframes // ==/UserScript== (function() { 'use strict'; if (document.querySelector("#tw-main") !== null) // If the small translator widget exists on the page { //Starts the if conditon window.location.replace("https://translate.google.com"); //Redirect to https://translate.google.com } //Finishes the if conditon })();