WinMain
V2EX  ›  问与答

右上角大大的头像和用户名能弄小点或者隐藏吗?不想让别人轻易看到啊。

  •  
  •   WinMain · Mar 28, 2018 · 3238 views
    This topic created in 2999 days ago, the information mentioned may be changed or developed.

    RT 在公司的时候经常会刷刷小 V,但是同事在身后走来走去的,不想被轻易的看到头像和用户名啊,现有情况是很容易吧?有概率能解决吗

    Supplement 1  ·  Mar 28, 2018
    哎呀,我去,大神真多
    用的 5L 大神的
    #Rightbar > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) {display: none;}
    Perfect !!!
    15 replies    2018-03-28 17:20:00 +08:00
    AlwaysBehave
        1
    AlwaysBehave  
       Mar 28, 2018
    自己写一个油猴脚本或者做一个客户端
    charadeyouare
        2
    charadeyouare  
       Mar 28, 2018
    随便一个 ad block 插件...
    sennes
        3
    sennes  
       Mar 28, 2018
    设置支持自定义 CSS
    感觉可以利用一下。
    SingeeKing
        4
    SingeeKing  
    PRO
       Mar 28, 2018
    .avatar {
    display: none;
    }

    https://www.v2ex.com/settings
    SingeeKing
        5
    SingeeKing  
    PRO
       Mar 28, 2018
    #Rightbar .avatar {
    display: none;
    }

    这样吧,修正误伤
    vve2ex
        6
    vve2ex  
       Mar 28, 2018
    @SingeeKing 厉害,第一次发现 V 站还有这功能
    sennes
        7
    sennes  
       Mar 28, 2018
    #Rightbar div:nth-child(2) div:first-child table:first-child{
    display:none;
    }

    rabbbit
        8
    rabbbit  
       Mar 28, 2018
    帮你伪装成别人
    #Rightbar div:nth-of-type(1) table:nth-of-type(1) .bigger a{
    color:#fff;
    }

    #Rightbar div:nth-of-type(1) table:nth-of-type(1) .bigger a:before{
    content: "lalala";
    color: #000;
    }
    #Rightbar div:nth-of-type(1) table:nth-of-type(1) td:nth-of-type(1) {
    position: relative;
    }

    #Rightbar div:nth-of-type(1) table:nth-of-type(1) td:nth-of-type(1):after{
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display:block;
    width:48px;
    height:48px;
    background: #fff url( https://cdn.v2ex.com/avatar/c8a2/3f84/173108_normal.png?m=1499501276)
    }
    sennes
        9
    sennes  
       Mar 28, 2018
    哈哈 我好蠢 写的比较复杂 。好像 @SingeeKing #5 的就够用了。
    SingeeKing
        10
    SingeeKing  
    PRO
       Mar 28, 2018
    @rabbbit #8 😂为什么是我的头像
    SingeeKing
        11
    SingeeKing  
    PRO
       Mar 28, 2018
    @sennes #9 我没注意审题。。。没看到还要隐藏用户名

    #Rightbar .avatar,.bigger {
    display: none;
    }
    rabbbit
        12
    rabbbit  
       Mar 28, 2018
    @SingeeKing 看到个帅哥就随手复制了(>▽<)
    SingeeKing
        13
    SingeeKing  
    PRO
       Mar 28, 2018
    #Rightbar > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) {display: none;}

    好了写了个理论无误伤的
    SingeeKing
        14
    SingeeKing  
    PRO
       Mar 28, 2018
    #Top > div > div > table > tbody > tr > td:nth-child(3) > a:nth-child(2) {display: none;}

    要隐藏最上边的用户名可以再加上这个
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1074 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 23:13 · PVG 07:13 · LAX 16:13 · JFK 19:13
    ♥ Do have faith in what you're doing.