google-groups-translation-message-hider

Hides the disturbing yellow boxes saying 'Translate message to English' in Google Groups.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name            google-groups-translation-message-hider
// @description     Hides the disturbing yellow boxes saying 'Translate message to English' in Google Groups.
// @author          Caglar Toklu
// @copyright       2016, Caglar Toklu
// @date            2016-04-12
// @grant           GM_addStyle
// @homepageURL     https://github.com/caglartoklu/google-groups-translation-message-hider.user.js
// @include         http://groups.google.com/*
// @include         https://groups.google.com/*
// @license         BSD 2-Clause
// @namespace       https://github.com/caglartoklu/greasemonkey
// @run-at          document-end
// @version         1.0.0
// ==/UserScript==

// This script is forked from:
// http://userscripts-mirror.org/scripts/show/149411
// The code of that script was perfectly correct, but it was not granted for:
// GM_addStyle http://wiki.greasespot.net/GM_addStyle
// It was possibly written before Greasemonkey 2.0 since
// from Greasemonkey 2.0, `@grant none` is assumed by default,
// if no other values are specified.
// http://wiki.greasespot.net/@grant
// google-groups-translation-message-hider adds the necessary metadata.

(function () {

  GM_addStyle('.gux-confirm-panel-c { display:none !important; }');

}());