您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
百度首页简化_随机壁纸
当前为
// ==UserScript== // @name 百度首页简化_[ 随机壁纸 ] // @namespace http://tampermonkey.net/ // @icon https://www.baidu.com/favicon.ico // @version 0.1 // @description 百度首页简化_随机壁纸 // @author Guy // @match https://www.baidu.com/ // ==/UserScript== /* jshint -W097 */ 'use strict'; // Your code here... (function () { 'use strict'; $('.head_wrapper #u1').css({ "margin":"5px", "background-color":"rgba(64,112,178,0.7)", "border-radius":"12px", "height":"40px" });// $('#u1').css("padding","0px 20px 0px 0px"); $('#u1').html("<a href='http://news.baidu.com' name='tj_trnews' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>新闻</a><a href='https://www.hao123.com' name='tj_trhao123' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>hao123</a><a href='http://map.baidu.com' name='tj_trmap' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>地图</a><a href='http://v.baidu.com' name='tj_trvideo' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>视频</a><a href='http://tieba.baidu.com' name='tj_trtieba' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>贴吧</a><a href='http://xueshu.baidu.com' name='tj_trxueshu' class='mnav' style='line-height: 40px; text-decoration: none; color: white;'>学术</a><a href='http://www.baidu.com/gaoji/preferences.html' name='tj_settingicon' class='pf' style='line-height: 40px; text-decoration: none; color: white;'>设置</a><a href='http://music.taihe.com' name='tj_mp3'><span class='bdbriimgitem_3'></span>音乐</a><a href='http://image.baidu.com' name='tj_img'><span class='bdbriimgitem_4'></span>图片</a><a href='http://zhidao.baidu.com' name='tj_zhidao'><span class='bdbriimgitem_2'></span>知道</a><a href='http://wenku.baidu.com' name='tj_wenku'><span class='bdbriimgitem_5'></span>文库</a>"); $('#u1 a').removeClass(); $('#u1 a').addClass("mnav"); $('.head_wrapper #u1 a').css({ "line-height":"40px", "text-decoration":"none", "color":"white" }); //右上角导航栏 $('.head_wrapper').css('background-image','url(http://api.btstu.cn/sjbz/?lx=dongman)'); //背景壁纸 $('#lg').html(""); $('#lg').css("height","132px"); $('.qrcodeCon').css("display","none"); $('#ftCon').css("display","none"); $('.s_ipt_wr').css({ "border-radius":"12px", "background-color":"rgba(225,225,225,0.5)" }); $('.s_btn').css({ "border-radius":"12px" }); //搜索框 console.clear(); console.log('%c 已启用:[百度首页美化] ','background:#000; color:#dbb99d'); })();