zoukankan      html  css  js  c++  java
  • 虎扑,豆瓣等用css屏蔽广告代码

    使用方法

    1. Chrome内核浏览器;
    2. 用chrome浏览器,右键审查,获得css路径,在按右键,审查,copy-selector;
    3. 扩展中使用stylish等插件,可以本地安装;

    虎扑css

    .hp-threeNav,
    body > div.hp-header.hp-header-A,
    #tabs_header,
    #sort,
    body > div.hp-header.hp-header-B,
    body > div.bottom_tools,
    div > div.floor_box > table > tbody > tr > td > small,
    #container > div > div.bbsHotPit > div.bbs_head > div.pl_nav,
    #container > div > div.bbsHotPit > div.bbs_head > h1,
    div.endreply.box,
    .commend {
        display: none !important
    }
    
    .ilike_icon {
         30px !important;
    }
    .aulink,
    .headpic,
    .f999,
    .subhead {
        display: none !important
    }
    
    
    
    

    豆瓣css

    .group-board,
    #group-info,
    #db-nav-group{
        display: none !important;
    }
    #content > div.grid-16-8.clearfix > div.aside > div:nth-child(2) {
        display: none !important;
    }
    
    #content > div.grid-16-8.clearfix > div.aside > div.mod.side-nav {
        display: none !important;
    }
    

    网页字体修改

    * {
        font-family: '华文黑体' !important;
        font-size: 15px !important;
    }
    

    全局文字字体阴影渲染css

    /* 2019.09更新 */
    
    /*字体阴影*/
    * {
    	text-shadow: 0.0em 0.0em 0.13em #37F !important;
    	font-family: Optima, '华文黑体' !important;
    	background-color: rgba(0, 0, 0, 0);
    	-webkit-transition: all 0.4s ease;
    	font-weight: 300;
    	line-height: 1.625;
    	font-size: 16px !important;
    }
    
    /*去除链接下划线*/
    a {
    	text-decoration: none !important
    }
    
    /*淡蓝色文字效果*/
    a {
    	-webkit-transition: all 0.3s ease-out;
    }
    
    a:hover {
    	color: rgb(224, 7, 43)  !important;
    	text-shadow: -5px 3px 18px #39F !important;
    	-webkit-transition: all 0.3s ease-out;
    }
     
    
    
    /* 2018.09更新.
    
    *{
    	text-shadow:0.0em 0.0em 0.13em #37F !important;
    	font-family:Optima, '华文黑体' !important;
    }
    
    body{
    	background-color: #F7F7F7;
    	-webkit-font-smoothing: subpixel-antialiased !important;}
    
    a{
    	text-decoration:none !important}
    
    a{
    	-webkit-transition: all 0.3s ease-out;}
    a:hover{
    	color: #39F  !important;
    	text-shadow:-5px 3px 18px #39F !important;
    	-webkit-transition: all 0.3s ease-out;}
    *::-webkit-selection {
    	background: #333333 !important; 
    	color: #00FF00 !important; }
    
     */
    

    虎牙css

    /*主题背景*/
    .special-bg {
        height: 580px;
    }
    
    /*底部*/
    #J_roomHeader > div.room-hd-l > div.host-info > div.host-detail.J_roomHdDetail {
        display: none !important;
    }
    
    /*播放器内部*/
    .player-gift-wrap{
        display: none !important;
    }
    /*聊天框勋章等*/
    .msg-nobleSpeak-decorationPrefix,
    #J_roomHeader,
    .msg-normal-decorationPrefix {
        display: none !important;
    }
    .room-sidebar-hd,
    .match-top,
    .mod-sidebar,
    .competition_main_title,
    .room-hd-r,
    .room-footer,
    .msg-normal-decorationSuffix,
    #match-cms-content,
    #chat-room__list > li > p {
        display: none !important;
    }
    
    /*导航栏*/
    #duya-header > div > div > div.duya-header-nav > div.hy-nav-item.hy-nav-item-video{
        display: none !important;
    }
    
    
    .list-adx{
        display: none !important;
    }
    
  • 相关阅读:
    HDU-3065-病毒侵袭持续中(AC自动机)
    HDU-2896-病毒侵袭(AC自动机)
    HDU
    Codeforces Round #591 (Div. 2, based on Technocup 2020 Elimination Round 1) D. Sequence Sorting
    Codeforces Round #591 (Div. 2, based on Technocup 2020 Elimination Round 1) B. Strings Equalization
    Codeforces Round #591 (Div. 2, based on Technocup 2020 Elimination Round 1) C. Save the Nature
    Codeforces Round #591 (Div. 2, based on Technocup 2020 Elimination Round 1) A. CME
    Codeforces Round #586 (Div. 1 + Div. 2) E. Tourism
    Codeforces Round #586 (Div. 1 + Div. 2) D. Alex and Julian
    jsp内置对象
  • 原文地址:https://www.cnblogs.com/wangdaodao/p/13284055.html
Copyright © 2011-2022 走看看