您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the Google translate widget from Reddit
当前为
// ==UserScript== // @name Remove Google search translate // @namespace http://google.com/ // @version 2025-01-16 // @description Removes the Google translate widget from Reddit // @license MIT // @author VampiroMedicado // @match https://*.translate.goog/* // @icon https://www.google.com/s2/favicons?sz=64&domain=google.com // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; const protocol = window.location.protocol; const host = window.location.host; const pathname = window.location.pathname; const match = window.location.hostname.match('(.*)\.translate\.goog'); if (match[1]) { const newHost = match[1].replace('-', '.'); window.location.replace(`${protocol}//${newHost}${window.location.pathname}`); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址