您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
优化Thoughs样式
当前为
// ==UserScript== // @require http://code.jquery.com/jquery-3.4.1.min.js // @name thoughts-ui优化 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 优化Thoughs样式 // @author 邱道长 // @include *://thoughts.teambition.com/* // @grant none // ==/UserScript== (function() { 'use strict'; window.setTimeout(function() { $(function() { $('h2 span[data-slate-content]').css('marginLeft','1em'); $('h2').css('backgroundColor','#64ACE4').css('color','white') .css('marginLeft','0'); // 普通段落设置 $('span[data-slate-content]').css('fontSize','24px'); $('p').css('textIndent','50px'); // 有序列表数字符号字体大小和普通段落,字体大小保持一致,否则会不协调。 $('.number__31Gh').css('fontSize','24px'); $('h1 span').css('fontSize','36px');// 一级标题设置字体 $('h1').css('textAlign','center'); $('a').css('fontSize','18px');//修改链接字体 }) },1500)// 延时执行防止渲染不出来 })();