New Script

百度翻译 页面 美化

Version vom 15.08.2019. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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(); //隐藏横线