您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change the style of nav panel of weibo v6
当前为
// ==UserScript== // @id www.weibo.com-c53e41ab-a0ae-463a-82a4-f2584743a9f0@scriptish // @name Weibo6 Styles // @version 0.1.1 // @namespace me.fts.weibo // @author fanthos // @description Change the style of nav panel of weibo v6 // @include http://www.weibo.com/* // @run-at document-end // ==/UserScript== // ==/UserScript== (function(){ myproc=function(){ obj1=document.getElementsByClassName("WB_main_l")[0]; obj2=document.getElementsByClassName("WB_main_c")[0]; if(!obj1 || !obj2) { setTimeout(myproc, 10); return; } obj1.style.backgroundColor="white"; obj1.style.borderRadius="2px"; obj1.style.width="140px"; obj1.style.marginRight="10px"; texts1=obj1.getElementsByClassName("S_txt1"); for (var i = texts1.length - 1; i >= 0; i--) { texts1[i].style.color="black"; }; texts1=obj1.getElementsByTagName("em"); for (var i = texts1.length - 1; i >= 0; i--) { texts1[i].style.color="black"; }; texts1=obj1.getElementsByTagName("a"); for (var i = texts1.length - 1; i >= 0; i--) { texts1[i].style.color="black"; }; obj3=document.getElementsByClassName("WB_left_nav")[0]; obj3.style.width="140px"; console.log(obj1, obj2, obj3); } myproc(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址