隐藏壹读google广告

隐藏壹读显示的google广告

  1. // ==UserScript==
  2. // @name Hide read01.com google ad
  3. // @name:zh-CN 隐藏壹读google广告
  4. // @namespace vince.read01
  5. // @version 1.0
  6. // @description hide read01.com google ad
  7. // @description:zh-CN 隐藏壹读显示的google广告
  8. // @author vince ding
  9. // @match *://read01.com/*
  10. // ==/UserScript==
  11.  
  12. function closeAd(){
  13. var css = '.axslot.axsense,.pure-u.sidebar{ display: none!important; }\r\n .main{width:100%!important;}',
  14. head = document.head || document.getElementsByTagName('head')[0],
  15. style = document.createElement('style');
  16.  
  17. style.type = 'text/css';
  18. if (style.styleSheet){
  19. style.styleSheet.cssText = css;
  20. } else {
  21. style.appendChild(document.createTextNode(css));
  22. }
  23.  
  24. head.appendChild(style);
  25. }
  26.  
  27. closeAd();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址