google-groups-translation-message-hider

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

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==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; }');

}());