我试图在我的 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;
}
有什么想法吗?
我们非常欢迎所有建议。
最佳答案
这适用于 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;}
}
关于css - 显示无 "Who to follow"推特,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21943525/