您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
gogole'da bi siteye girince otomatik cevirme seyini engelliyo
// ==UserScript== // @name translate seyini engelleme seyi // @namespace https://tampermonkey.net/ // @version 1.0 // @description gogole'da bi siteye girince otomatik cevirme seyini engelliyo // @author dursunator // @match *://*.translate.goog/* // @run-at document-start // @grant none // ==/UserScript== (function() { 'use strict'; const currentUrl = window.location.href; if (location.hostname.includes("translate.goog")) { const url = new URL(currentUrl); const originalHost = url.hostname .replace(".translate.goog", "") .replace(/-/g, "."); const protocol = "https:"; const originalPath = url.pathname; const originalSearch = url.search; const originalUrl = `${protocol}//${originalHost}${originalPath}`; window.location.replace(originalUrl); } })();