Moe背景/自定义图片+网页优化去广告(已优化:哔哩哔哩bilibili/谷歌搜索google/百度搜索页baidu/...~yui)

使用Chrome以及stylus插件获得完整体验

  1. /* ==UserStyle==
  2. @name Moe背景/自定义图片+网页优化去广告(已优化:哔哩哔哩bilibili/谷歌搜索google/百度搜索页baidu/...~yui)
  3. @namespace helloworld.lol
  4. @version 1.1.6
  5. @description 使用Chrome以及stylus插件获得完整体验
  6. @author yui
  7. ==/UserStyle== */
  8.  
  9. @-moz-document regexp(".*") {
  10. body:before
  11. {
  12. content: "";
  13. position: fixed;
  14. top: 0;
  15. right: 0;
  16. bottom: 0;
  17. left: 0;
  18. z-index: -100;
  19. background-image: url(https://i0.hdslb.com/bfs/album/a284e6269702e91c0e8c8302a96f961bcbaeb2b7.jpg);
  20. background-position: center;
  21. background-size: cover;
  22. background-attachment: fixed;
  23. background-repeat: no-repeat;
  24. opacity: .2 /*暗图.2*/
  25. }
  26.  
  27. }
  28.  
  29. @-moz-document domain("baidu.com"){
  30. #content_right,.se-ft-promlink, .c-line-clamp1{display: none!important}
  31. #head{background: rgba(0,0,0,0);}
  32. #form{background: rgba(255, 255, 255, .2);}
  33. #rs,#page-relative{opacity: .4}
  34. .bdsug{background: rgba(255, 255, 255, .8);}
  35. .wrapper_new .sam_newgrid~#page {background-color: rgba(0,0,0,0);}
  36. .wrapper_new #foot {background-color: rgba(0,0,0,0);}
  37. .wrapper_new #foot #help {background-color: rgba(0,0,0,0);}
  38. body .se-page-hd {background: rgba(0,0,0,0);}
  39. #page-bd, .se-head-tablink,.c-container, .se-page-controller .new-pagenav, .se-page-copyright, .se-page-ft {background: rgba(0,0,0,0);}
  40. .banner{opacity:0!important}
  41. .se-form,.s_ipt_wr{background: rgba(0,0,0,0)}
  42. div[tpl="recommend_list"],.c-recomm-wrap{display: none!important}
  43. }
  44.  
  45.  
  46. @-moz-document url("https://www.baidu.com/"){
  47. /*百度首页优化*/
  48. #s_wrap,#bottom_layer,.s-top-nav{display: none!important}
  49. #s_top_wrap{background: rgba(0,0,0,0);}
  50. #form{opacity:.5}
  51. #lg{opacity:0}}
  52.  
  53. @-moz-document domain("google.com"){
  54. .sfbg,.yg51vc,.appbar,.kp-blk,.f6F9Be,.minidiv,.s8GCU,.Lj9fsd,.jZWadf,.qcTKEe,.ECgenc,.sbib_a,.c93Gbe{background: rgba(255,255,255,0)!important}
  55. .I6TXqe,.RNNXgb,.sbibod{background: rgba(255,255,255,0.5)!important}
  56. }
  57.  
  58. @-moz-document domain("moehui.com"){
  59. body{background: rgba(0,0,0,0);}
  60. .sec-panel{background: rgba(0,0,0,0)!important}
  61. header{opacity:0.6}
  62. .post-loop-default .item:hover{background:transparent}
  63. }
  64.  
  65. @-moz-document domain("bilibili.com"){
  66. body, #app,.bb-comment,.mini-type,.v-wrap{background: rgba(0,0,0,0)!important;}
  67. .textarea-container textarea,.bili-comment,.bili-dyn-item{background-color: rgba(255,255,255,0.6)!important;}
  68. .main-container .ep-list-wrapper,#danmukuBox{opacity:0.6}
  69. /*视频内弹窗*/.bilibili-player-video-popup,.bilibili-player-video-top-follow{display: none!important}
  70. .timeline-header,.timeline-wrapper,.tl-head .tl-day{background:transparent}
  71. .timeline-header .tl-weeks:after{display: none}
  72. #activity_vote,#right-bottom-banner,.ad-report,#reportFirst2,#live_recommand_report{display: none!important;}
  73. .bili-avatar-pendent-dom,.bili-avatar-pendent,.b-danmaku-high-icon,.bilibili-player-dm-tip-wrap,.h .space-theme-trigger{display: none!important;}
  74. /*主页动图*/
  75. .top{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 100%)!important}
  76. .bottom{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.26) 100%)!important}
  77. .formal-toutu,.h-inner{
  78. background-image: url(https://i0.hdslb.com/bfs/album/77d0a7be17f0d08bbd12719ad011c4ade4095e0a.jpg)!important;
  79. .bili-cover-card__stats{background:none!important}
  80. background-position: 60% 77%!important;
  81. /*background-repeat: repeat-x;
  82. background-size: contain!important;*/
  83. }
  84. #page-index .col-1,.col-full{background:transparent}
  85. .card[data-v-2dbadba2],.feed-title[data-v-87ed4514],#page-dynamic .col-2 .section{background-color: rgba(255,255,255,0.6)}
  86. #page-index .col-2{opacity:0.6}
  87. .n .n-inner{background-color: rgba(255,255,255,0.7)}
  88. /*个人动态页*/
  89. .fixed-bg{background-image:none!important}
  90. .left-panel,.right-panel{opacity:0.8}
  91. .center-panel{opacity:0.9}
  92. .page-container,.history-list .r-info{background:transparent}
  93. /*2021-03-30 update*/
  94. .forw-area,.pager,.input-wrap{background:transparent!important}
  95. .comment-send-lite{background:rgba(255,255,255,0.6)!important}
  96. .nav-search-box{opacity:0.8}
  97. div.bb-comment > div.reply-notice,div.proxy-box > div > a,.bilibili-player-video-toast-bottom,.bilibili-player-link.bilibili-player-show,.unlogin-popover,.login-tip{display: none!important;}
  98. .bpx-player-toast-wrap,.bpx-player-dialog-wrap,img[alt^="[神楽Mea"], img[alt^="神楽Mea"]{display:none}
  99. .input-suggest{opacity:0.8}
  100. .video-container,.post-content,.shop-list,.card{background:rgba(255,255,255,.4)!important}
  101. /*220615*/
  102. .bili-layout>:nth-child(3),.bili-layout>:nth-child(6),.recommended-swipe{display: none!important;}
  103. .recommend-container__2-line>*:nth-of-type(1n + 8){display:block!important}
  104. /*220619屏蔽b站系统通知*/
  105. .red-num--message,.message-inner-list> a:nth-child(4)>.message-inner-list__item--num{display: none!important;}
  106. .nav-item-message>.t>.num{display: none!important;}
  107. a[href="//message.bilibili.com/#/system"]>span{display: none!important;}
  108. .video-page-special-card,.video-page-special-card-small,.side-bar>.list>li:nth-child(4)>a>.notify-number{display: none!important;}
  109. /*屏蔽b站新闻话题(和百度差不多了)*/
  110. .topic-panel,.floor-single-card,.adblock-tips{display: none!important;}
  111. /*直播,视频内推荐三连*/ .pop-live-small-mode,.bpx-player-cmd-dm-wrap,.announcement-wrapper{display: none!important;}
  112. .reply-view-image{--34114ac9: 280px!important}
  113. /*240212屏蔽b站最新烂活*/
  114. .bili-dyn-item__interaction,.slide-ad-exp,.bpx-player-ending-related-item,.bili-dyn-ads,.red-point--message,.notify-dot,.reply-notice,.activity-m-v1,#bar,#notice{display: none!important;}
  115. .preview-list{opacity:0.1}
  116. }
  117.  
  118. @-moz-document domain("send2boox.com"){
  119. /*.AppHeader{background:transparent}
  120. .list-container, .page-container{background:transparent}
  121. body{overflow-y:auto;height:200%}
  122. .el-table__body-wrapper{height:auto!important}
  123. #adpp{height:auto!important}
  124. 240%*/
  125. html{overflow-y:visible;height:1444px}
  126. .push-container .push-menu{width:150px!important}
  127. .list-container, .page-container{background:transparent}
  128. .push-file-header{opacity:0.7}
  129. .gb-table,.el-table{opacity:0.9}
  130. }
  131.  
  132. @-moz-document domain("bing.com"){
  133. #b_header,#b_results>li,#b_context .b_ans, #b_context #wpc_ag,.b_footer,#b_pole .b_wpTabsWrapper{background:transparent!important}
  134. .b_searchboxForm, .sa_as .sa_drw{background: rgba(255,255,255,0.6)}
  135. }