New Script

百度翻译 页面 美化

اعتبارا من 15-08-2019. شاهد أحدث إصدار.

You will need to install an extension such as Tampermonkey, Greasemonkey 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 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.

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

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

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

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