一直都很讨厌百度搜索页面的广告和右侧的推荐什么的一堆垃圾信息,研究了几天,是在知乎上看到有人使用 Stylish 插件,
于是尝试了下,stylish官网上百度的css大家可以使用,也可以先像我这样自己写点样式。
先看看效果图:
没广告,没推荐,too nice!
stylish官网:https://userstyles.org/ 如何安装插件,自己百度。
安装之后,新建样式
编写css样式
先配置好应对对象,再粘贴代码到代码框
代码:
#content_right{
display: none;
}
.rrecom-container{
display: none;
}
.result-op.xpath-log {
display: none !important;
}
.EC_newppim {
display: none !important;
}
.bdsug li.bdsug-s {
background: #f0f0f0;
cursor: pointer;
}
.bdsug li {
line-height: 40px !important;
border-bottom: 1px solid whitesmoke;
}
.op-zx-new-mvideo-out .t {
height: 40px !important;
line-height: 40px !important;
}
.s_form{
margin: 0 200px;
}
#s_tab{
padding: 55px 0 0 311px;
}
.search_tool_conter{
margin: 0 0 0 311px;
}
#content_left{
padding-left: 311px;
}
#rs{
margin: 6px 0 0 311px;
}
#page{
padding: 0 0 0 311px;
}
.nums{
margin: 0 0 0 311px;
}
#help{
padding-left: 361px !important;
}
#head .headBlock{
margin: -5px 0 6px 311px;
}