您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
clean macmillandictionary.com ads
- // ==UserScript==
- // @name cleanMacmillandictionaryComAds
- // @namespace http://tampermonkey.net/
- // @version 0.12
- // @description clean macmillandictionary.com ads
- // @author mooring@codernotes.club
- // @match *.macmillandictionary.com/*
- // @match *.macmillanthesaurus.com/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=macmillandictionary.com
- // @grant none
- // @license MIT
- // @run-at document-body
- // ==/UserScript==
- (function() {
- 'use strict';
- var css = [
- '.limit-max-width > .row:nth-child(2),.limit-max-width > .row:nth-child(4)',
- ',[id*="google_ads"]',
- ',.left-content .thes-links',
- ',.max-90em,#potw+.limit-max-width',
- ',.limit-max-width > .center-xs .responsive-img',
- '{display:none!important}',
- '.floating-search{display:block!important}',
- '.col-sm-8,.col-sm-content-with-leftslot{max-width:unset;}'
- ].join('')
- var style = document.createElement('style'); style.innerText = css;
- document.body.appendChild(style)
- })();