- 积分
- 470
- 最后登录
- 2022-11-8
- 精华
- 0
- 阅读权限
- 30
- 主题
- 6
- UID
- 4859573
- 帖子
- 799
- PB币
- 29
- 威望
- 25
- 贡献
- 0
- 技术
- 0
- 活跃
- 513
高级Bug工程师
- UID
- 4859573
- 帖子
- 799
- PB币
- 29
- 贡献
- 0
- 技术
- 0
- 活跃
- 513
|
49F
发表于 2019-11-12 22:30:32
IP属地广东
|只看该作者
本帖最后由 西岚 于 2019-11-12 22:32 编辑
配置参数
// ==UserScript==
// @name 质感字体&&页面平滑滚动
// @namespace http://svnzk.github.io/
// @version 0.11
// @description 让每个页面的字体变得有质感 页面滚动更平滑 字体换为萍方字体并添加字体阴影
// @author svnzk
// @match *://*/*
// @run-at document-start
// @require https://cdn.bootcss.com/smoothscroll/1.4.9/SmoothScroll.min.js
// @grant none
// ==/UserScript==
//2019-09-16 更新 v0.11 : [新增] 添加 Heiti SC 字体 [新增] icomoon 图标 [修复]修复一些使用防盗字体的网站
(function() {
var font_style = document.createElement("style");
font_style.type = 'text/css';
font_style.innerHTML = " *:not([class*='icon']):not(.fa):not(.fas):not(i) {font-family: 'Lucida Grande + STHeitiSC','Heiti SC','myfont','Microsoft YaHei','Source Han Sans SC','Noto Sans CJK SC','HanHei SC', 'sans-serif' ,'icomoon','Icons' ,'brand-icons' ,'FontAwesome','Material Icons','Material Icons Extended','Glyphicons Halflings' !important;} *{text-shadow:0.6px 0.6px 0.6px #c3c3c3 !important; font-weight:bold !important;font-family: 'Lucida Grande + STHeitiSC','Microsoft YaHei';}";
document.head.append(font_style);
})();
这个教程是真·至尊了舒服
|
|