// ==UserScript== // @name 『净网卫士』百度翻译 // @name:zh-CN 『净网卫士』百度翻译 // @namespace ttps://github.com/Hunlongyu // @version 0.3.1 // @author Hunlongyu // @description Block ads on Baidu's translation interface, streamline pages, and optimize layout. // @description:zh-CN 页面精简,去除广告,只保留主要功能的部分。 // @license MIT // @copyright Copyright (c) [2024] [hunlongyu] // @icon https://i.loli.net/2019/04/22/5cbd720718fdb.png // @homepage https://github.com/Hunlongyu/userscript // @supportURL https://github.com/Hunlongyu/userscript/issues // @match *://fanyi.baidu.com/* // @grant GM_addStyle // @grant GM_log // @run-at document-start // @downloadURL https://update.greasyfork.icu/scripts/485534/%E3%80%8E%E5%87%80%E7%BD%91%E5%8D%AB%E5%A3%AB%E3%80%8F%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91.user.js // @updateURL https://update.greasyfork.icu/scripts/485534/%E3%80%8E%E5%87%80%E7%BD%91%E5%8D%AB%E5%A3%AB%E3%80%8F%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91.meta.js // ==/UserScript== (function () { 'use strict'; var _GM_addStyle = /* @__PURE__ */ (() => typeof GM_addStyle != "undefined" ? GM_addStyle : void 0)(); var _GM_log = /* @__PURE__ */ (() => typeof GM_log != "undefined" ? GM_log : void 0)(); const css = ` .KxVKmLZM{display:none !important;} .RAbZsoLs{display:none !important;} .YGx8668_{display:none !important;} .UMjeGiEI{display:none !important;} .qJU3axmS{display:none !important;} .sF3Yx_p0{display:none !important;} .LSOa73BQ{display:none !important;} .qoOttmGv{display:none !important;} .XS9zPMly{display:none !important;} ._m6jE1Mj{display:none !important;} `; try { _GM_addStyle(css); } catch (e) { _GM_log(new Error("GM_addStyle stopped working!")); } })();