cleanAhdictionaryComAds

clean ahdictionary.com ads!

当前为 2022-09-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name cleanAhdictionaryComAds
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.15
  5. // @description clean ahdictionary.com ads!
  6. // @author mooring@codernotes.club
  7. // @match *.ahdictionary.com/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=ahdictionary.com
  9. // @grant none
  10. // @license MIT
  11. // @run-at document-idle
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. var css = [
  17. 'body{font-size:20px!important}',
  18. '.container{width:1024px;margin:0 auto;}',
  19. '#header{height:150px;margin-bottom:20px;}form{top:97px}.branding{top:10px}',
  20. '.container>.container1, .container>.container2,.container>.container3>.omega',
  21. ',#results .rtseg > div[align="right"],.slideshow-results#footer{display:none!important}',
  22. '.container>.container3 > *,hr[align="left"]{width:100%;}',
  23. '.container>.container3,#results{width:unset}'
  24. ].join('')
  25. var style = document.createElement('style'); style.innerText = css;
  26. document.body.appendChild(style)
  27. })();