您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
该脚本允许你自定义 Overleaf 编辑器的字体。
当前为
- // ==UserScript==
- // @name Overleaf Editor Font Customizer
- // @name:zh-CN Overleaf 编辑器字体修改
- // @namespace https://greasyfork.org/en/scripts/455589
- // @version 1.0
- // @description Customize your Overleaf editor's font family.
- // @description:zh-CN 该脚本允许你自定义 Overleaf 编辑器的字体。
- // @author billchen2k
- // @license MIT
- // @match https://www.overleaf.com/project/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=overleaf.com
- // @grant GM_addStyle
- // ==/UserScript==
- // Change this to your desired font family.
- var fontFamily = "Consolas, CMU Typewriter Text, Songti SC";
- (function() {
- 'use strict';
- window.addEventListener('load', function() {
- GM_addStyle(`.cm-content {font-family: ${fontFamily} !important;}`);
- }, false);
- })();