【问题标题】:display none "Who to follow" twitter不显示“要关注的人”推特
【发布时间】:2014-03-23 12:06:25
【问题描述】:

我正在尝试在我的 Twitter 帐户中隐藏“要关注的人”框。

为此,我使用了一个名为 Minimalist 的 Chrome 扩展程序。

由于某种原因,我的 CSS 代码无法正常工作:

//not working
.wtf-module{
display: none;
}

//not working
.js-wtf-module{
display: none;
}

//not working
.dashboard:nth-child(2){
display: none;
}

有什么想法吗?

欢迎所有建议。

【问题讨论】:

    标签: css twitter


    【解决方案1】:

    这适用于 Firefox 27。我现在无法在 Chrome 中进行测试。

    .wtf-module, .js-wtf-module {
        display: none !important;
    
    }
    

    您可能还会从http://nakkaya.com/2014/01/26/pentadactyl-configuration/ 的配置中受到启发:

    @-moz-document domain("twitter.com") {
        div.module.trends{ display: none !important; }
        div.module.site-footer{ display: none !important; }
        div.module.wtf-module.js-wtf-module.has-content{ display: none !important; }
        div.global-nav{ display: none !important; }
        .wrapper.white { background: none !important;}
    }
    

    【讨论】:

      【解决方案2】:

      .wtf-module.has-content {display: none;}

      【讨论】:

      • ...非常适合模块“what the f*k module”的名称;)
      猜你喜欢
      • 2016-04-07
      • 2019-06-14
      • 2013-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-05
      相关资源
      最近更新 更多