New Script

百度翻译 页面 美化

Versione datata 15/08/2019. Vedi la nuova versione l'ultima versione.

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 New Script
// @css https://static.ifeo.cn/static/css/baidufanyi.css
// @namespace Violentmonkey Scripts
// @match             *://fanyi.baidu.com/*
// @description 百度翻译 页面 美化
// @version 0.0.1.20190815035155
// ==/UserScript==
var background = 'http://pic1.win4000.com/wallpaper/0/59c9c1cd0ed04.jpg'; //背景图
//$('.trans-other-wrap').hide(); //隐藏历史
$('.simultaneous-interpretation').hide();
$('.trans-machine').hide();
$('.download-guide').hide();
$('.manual-trans-info').hide();
$('.manual-trans-btn').hide();
$('body').css('background-image','url(' + background + ')');
$('body').css({"background-repeat":"no-repeat", "background-size": "cover"})
$('.container').css('background','#f9f9f900');
$('.header').css('background', '#ffffff00');
$('.divide-wrap').hide(); //隐藏横线