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;
    }
    
  • 相关阅读:
    CentOS7关于网络的设置
    centos7里没有ifcfg-eth0只有 ifcfg-ens33(没有Eth0网卡)
    虚拟机vmnet0、vmnet1和vmnet8的区别 虚拟网卡概述
    linux里的bootproto的none,static,dhcp有什么区别
    虚拟机NAT模式无法上网问题的解决办法
    华为原副总裁李玉琢:我与任正非的合作与冲突(比较狠)
    MinGW开发工具的安装(还有visual-mingw)
    MinGW安装和使用(不是mingw-w32)
    在Windows中安装MinGW-w64(有图,一步一步)
    dzone Cloud Zone
  • 原文地址:https://www.cnblogs.com/wangdaodao/p/13284055.html
Copyright © 2011-2022 走看看