Greasy Fork

来自缓存

Greasy Fork is available in English.

Google翻译 Chrome强制夜间模式视觉修复

删除Google翻译的一个元素 使强制进入夜间模式功能开启后视觉效果更佳

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

//支持香港站
//如果需要其他地址适配 请在GreasyFork发表反馈
//The modified version code comes from:
//http://greasyfork.icu/zh-CN/users/566425
//http://greasyfork.icu/zh-CN/scripts/398025/discussions/51417
//Thanks very much!

// ==UserScript==
// @name               Google翻译 Chrome强制夜间模式视觉修复
// @name:zh-CN         Google翻译 Chrome强制夜间模式视觉修复
// @name:zh-TW         Google翻譯 Chrome強制夜間模式視覺修復
// @name:en            Google Translate: Chrome Force Night Mode Visual Fix
// @namespace          https://www.baidu.com/
// @version            1.0.8
// @description        删除Google翻译的一个元素 使强制进入夜间模式功能开启后视觉效果更佳
// @description:zh-CN  删除Google翻译的一个元素 使强制进入夜间模式功能开启后视觉效果更佳
// @description:zh-TW  刪除Google翻譯的一個元素 使強制進入夜間模式功能開啟後視覺效果更佳
// @description:en     Remove an element of Google Translate to make the visual effect better when the forced night mode feature is turned on.
// @author             xfqwdsj
// @match              *://translate.google.com/*
// @match              *://translate.google.cn/*
// @match              *://translate.google.com.tw/*
// @match              *://translate.google.com.hk/*
// @grant              none
// @license            MIT
// ==/UserScript==

(function (ca) { //remove by classes array
    var c, el;
    while (c=ca.shift()) {
        el=document.getElementsByClassName( c ); // el is live collection!
        while (el[0]) { // or upside down for(var i=el.length-1; i>-1; i--)...
            el[0].parentNode.removeChild(el[0]); // or el[0].remove()
        }
    }
})( ["ls-right-arrow", "sugg-fade"] );