您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
clean dict.cn ads, make page more clear
// ==UserScript== // @name cleanDictCnAds // @namespace http://tampermonkey.net/ // @version 0.13 // @description clean dict.cn ads, make page more clear // @author [email protected] // @match *.dict.cn/* // @icon https://www.google.com/s2/favicons?sz=64&domain=dict.cn // @grant none // @license MIT // @run-at document-body // ==/UserScript== (function() { 'use strict'; var css = [ '[class*=Google],.sc-fx+div,[id^="div-gpt-ad"],[data-ad-slot],.copyright,.ad_banner,#dshared{display:none!important}', ].join('') var style = document.createElement('style'); style.innerText = css; document.body.previousElementSibling.appendChild(style) })();