[原创]自己做了个百度首页美化插件,纯属练手
闲着没事,自己做了一个美化百度首页的油猴插件,就是一个练手的小项目,油猴实在是很好玩,好有很多接口没弄明白,日后慢慢探索吧
插件截图对比
去除顶部的菜单栏的背景阴影和部分不常用的按钮,菜单看起来更和谐了
优化了搜索框的白色背景,看起来和背景更融洽
优化搜索框千年不变的边框颜色,每次更新都有不一样的颜色(没有自定义选项,杜绝选择恐惧症)
去除收索框下面的推广按钮,使首页看起来更简洁
去除底部的版权说明栏,这样就显得更更更简洁了
核心代码
::-webkit-scrollbar, #bottom_layer, #s_lm_wrap,.s-top-right .s-top-username { display: none; } #wrapper.wrapper_new div.s-skin-container{ } .s-skin-hasbg #head_wrapper .s_btn { background: #f68e5f; color: #fff; } .s-skin-hasbg #head_wrapper #form #kw.new-ipt-focus, .s-skin-hasbg #head_wrapper #form #kw:hover, .s-skin-hasbg #head_wrapper #form #kw:focus{ border-color:#f78f5d!important; } .s-skin-hasbg #head_wrapper #form #kw { background: none; border-color: #f78f5d; } #head_wrapper .ipt_rec, #head_wrapper .soutu-btn { background: #fff0 url(https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/searchbox/nicon-10750f3f7d.png) no-repeat; } .s-skin-hasbg .s-top-wrap { background: rgb(0 0 0 / 0%); } #s-user-setting-menu{ right: 0px!important; } #head_wrapper #form .bdsug-new ul li{ color: #feffff; } #head_wrapper #form .bdsug-new{ border: 2px solid #f68e5f!important; } .bdsug{ background: none; } #head_wrapper #form .bdsug-new ul{ border:none; } .s-skin-hasbg #head_wrapper #form .bdsug-new{ border-color: #f68e5f!important; }
更新日志
2023-09-01 V1.5
1.AI搜索按钮放到右上角
2023-01-01 V1.4
1把天气信息放到左侧
2.去除收索框下面的推广按钮,使首页看起来更简洁
2022-11-13 V1.3:
1.优化搜索框千年不变的边框颜色,每次大版本更新都有不一样的颜色(没有自定义选项,杜绝选择恐惧症)
2022-09-23 V1.2:
1.去除顶部的菜单栏的背景阴影和很多的按钮
2.优化了搜索框的白色背景,看起来和背景更融洽
3.去除底部的版权说明栏,这样就显得更更更简洁了
插件下载
注意:需要提前安装好油猴。
下载链接:https://greasyfork.org/zh-CN/scripts/451413-www-baidu-com%E9%A1%B5%E9%9D%A2%E7%BE%8E%E5%8C%96
版权声明:本文由 LzxBlog 发布,如需转载请注明出处。