强制使用字体 - 核心

所有 强制使用字体 脚本的核心脚本

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/29500/671679/%E5%BC%BA%E5%88%B6%E4%BD%BF%E7%94%A8%E5%AD%97%E4%BD%93%20-%20%E6%A0%B8%E5%BF%83.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
BackRunner
Version
1.8
Created
2017-05-05
Updated
2019-02-18
Size
3.64 KB
License
MIT

本脚本为【强制使用字体】系列脚本的核心脚本 欢迎各位引用该脚本制作属于你自己的【强制使用字体】脚本,发布时请注明引用了这个库。

使用方法: 新建脚本,在//Your code here上方写入:

changeFont("字体名字(CSS)",2);

该函数引用两个变量, 第一个为字符串,为你想使用的字体的名字(CSS),通常为英文名 第二个变量是执行模式,2为双执行模式(相对执行速度慢,但在任何网页都可以正常执行), 1为单执行模式(css)(原始的执行模式) 0为单执行模式(link)(执行速度快,但在部分网页上无法执行,如知乎)

========================================= 遇到问题请您立刻提交反馈或发送邮件到[email protected] 如果您想参与本脚本的开发请发送邮件至上面的邮箱或访问Coding.net

如果您觉得本脚本好用可以通过捐赠支持我的开发(收到捐赠后我会将您的ID列入感谢名单):

(支付宝 [email protected]

【我的其它脚本】 贴吧页面精简 https://greasyfork.org/zh-CN/scripts/23687 Bilibili直播精简

https://greasyfork.org/zh-CN/scripts/23685