右上角大大的头像和用户名能弄小点或者隐藏吗?不想让别人轻易看到啊。 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
WinMain
V2EX    问与答

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

  •  
  •   WinMain 2018-03-28 15:53:44 +08:00 2881 次点击
    这是一个创建于 2777 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    settings
    SingeeKing
        5
    SingeeKing  
    PRO
       2018-03-28 16:38:09 +08:00
    #Rightbar .avatar {
    display: none;
    }

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

    rabbbit
        8
    rabbbit  
       2018-03-28 16:58:10 +08:00
    帮你伪装成别人
    #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  
       2018-03-28 17:00:01 +08:00
    哈哈 我好蠢 写的比较复杂 。好像 @SingeeKing #5 的就够用了。
    SingeeKing
        10
    SingeeKing  
    PRO
       2018-03-28 17:00:20 +08:00
    @rabbbit #8 为什么是我的头像
    SingeeKing
        11
    SingeeKing  
    PRO
       2018-03-28 17:02:38 +08:00
    @sennes #9 我没注意审题。。。没看到还要隐藏用户名

    #Rightbar .avatar,.bigger {
    display: none;
    }
    rabbbit
        12
    rabbbit  
       2018-03-28 17:03:42 +08:00
    @SingeeKing 看到个帅哥就随手复制了(><)
    SingeeKing
        13
    /div> SingeeKing  
    PRO
       2018-03-28 17:05:20 +08:00
    #Rightbar > div:nth-child(2) > div:nth-child(1) > table:nth-child(1) {display: none;}

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

    要隐藏最上边的用户名可以再加上这个
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2997 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 13:08 PVG 21:08 LAX 05:08 JFK 08:08
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86