🏠 返回首頁 

Greasy Fork is available in English.

cleanLongmanDicAds

clean ldoceonline.com ads, make page more clear


安装此脚本?
  1. // ==UserScript==
  2. // @name cleanLongmanDicAds
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.14
  5. // @description clean ldoceonline.com ads, make page more clear
  6. // @author mooring@codernotes.club
  7. // @match *.ldoceonline.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=ldoceonline.com
  9. // @grant none
  10. // @license MIT
  11. // @run-at document-body
  12. // ==/UserScript==
  13. (function() {
  14. 'use strict';
  15. var css = [
  16. '.topslot-container,[id^="div-gpt-ad"],[id^="ad_"],ins,.responsive_cell2',
  17. ',.content > .carousel,.text_welcome>h1:not(:first-child)',
  18. ',.impactify-style-impact',
  19. '{display:none!important}',
  20. '[class*="responsive_cell"]{clear:both;margin: 0 auto;float:unset}',
  21. '.entry_content{font-size: 14pt}'
  22. ].join('')
  23. var style = document.createElement('style'); style.innerText = css;
  24. document.body.previousElementSibling.appendChild(style)
  25. })();