百度优化去广告+Moe背景/自定义网页背景图片

建议使用stylus插件加载css,虽然油猴也行。已适配手机端

Versión del día 25/03/2021. Echa un vistazo a la versión más reciente.

  1. /* ==UserStyle==
  2. @name 百度优化去广告+Moe背景/自定义网页背景图片
  3. @namespace ???
  4. @version 1.0.8
  5. @description 建议使用stylus插件加载css,虽然油猴也行。已适配手机端
  6. @author yui
  7. ==/UserStyle== */
  8.  
  9. @-moz-document domain("baidu.com") {
  10.  
  11. body:before
  12. {
  13. content: "";
  14. position: fixed;
  15. top: 0;
  16. right: 0;
  17. bottom: 0;
  18. left: 0;
  19. z-index: -100;
  20. background-image: url(https://i0.hdslb.com/bfs/album/18bb3416bc1177f2a98dce92dd02596d29a15226.jpg);
  21. background-position: center ;
  22. background-size: cover;
  23. background-attachment: fixed;
  24. background-repeat: no-repeat;
  25. opacity: .2
  26. }
  27. .FYB_RD, .se-ft-promlink, .c-line-clamp1{display: none}
  28. #head{background: rgba(0,0,0,0);}
  29. #form{background: rgba(255, 255, 255, .2);}
  30. #rs,#page-relative{opacity: .4}
  31. .bdsug{background: rgba(255, 255, 255, .8);}
  32. .wrapper_new .sam_newgrid~#page {background-color: rgba(0,0,0,0);}
  33. .wrapper_new #foot {background-color: rgba(0,0,0,0);}
  34. .wrapper_new #foot #help {background-color: rgba(0,0,0,0);}
  35. body .se-page-hd {background: rgba(0,0,0,0);}
  36. #page-bd, .se-head-tablink,.c-container, .se-page-controller .new-pagenav, .se-page-copyright, .se-page-ft {background: rgba(0,0,0,0);}
  37. .banner{opacity:0!important}
  38. .se-form{background: rgba(0,0,0,0)}
  39. }
  40.  
  41. @-moz-document url-prefix("https://www.baidu.com/"){
  42. /*百度首页优化*/
  43. #s_wrap,#bottom_layer,.s-top-nav{display: none!important}
  44. #s_top_wrap{background: rgba(0,0,0,0);}
  45. #form{opacity:.5}
  46. #lg{opacity:0}}