您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Forces websites to use the Aptos font family, with a customizable whitelist of sites to exclude.
当前为
This Userscript changes the font on all websites to the Aptos font family. It includes a customizable whitelist feature, allowing you to exclude specific websites from this font change.
document-start
to minimize Flash of Unstyled Content (FOUC).Automatic Font Forcing: Once installed, the script automatically applies the Aptos font to all websites you visit, unless the site is on your whitelist.
Managing the Whitelist: You can manage the whitelist through the Userscript commands found in your Userscript Manager's menu (usually accessible by clicking the extension's icon in your browser toolbar):
To Add the Current Site to the Whitelist:
[Force Aptos Font] Whitelist: Add current site (example.com)
.sub.example.com
) or the base domain (e.g., example.com
). Adding a base domain will also whitelist all its subdomains.To Remove a Site from the Whitelist:
[Force Aptos Font] Whitelist: Remove from whitelist...
.To View/Edit the Entire Whitelist:
[Force Aptos Font] Whitelist: View/Edit All
.The script attempts to apply fonts in the following order:
"Aptos", "Aptos Display", "Aptos Narrow", "Aptos Serif", "Aptos Mono", "Segoe UI Variable Text", "Segoe UI Variable Display", "Segoe UI Variable Small", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif
!important
to override existing website styles. On very complex sites, there might still be elements that resist the change, or unintended layout shifts, though this is rare for font changes.*
Selector: The script applies the font to all elements (*
). A commented-out, more specific list of selectors is available in the code if you experience issues.This script is released under the MIT License. You are free to use, modify, and distribute it as per the license terms.
Remember to replace "Your Name/AI (Update with your actual name/handle)"
in the @author
field with your actual Greasy Fork镜像 username or preferred name.
This should give you a solid listing on Greasy Fork镜像!
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址