Skip to content

Instantly share code, notes, and snippets.

@Kr328
Created December 26, 2024 03:34
Show Gist options
  • Save Kr328/f67277fc079a7ba7e32670ddd0e9b70d to your computer and use it in GitHub Desktop.
Save Kr328/f67277fc079a7ba7e32670ddd0e9b70d to your computer and use it in GitHub Desktop.
Apply noto fonts for clash dashboard.
// ==UserScript==
// @name Noto Fonts for Clash Dashboard
// @namespace http://github.com/Kr328/noto-font-clash-dashboard
// @version 1.0.0
// @description Replace note fonts for clash dashboard
// @author Kr328
// @match *://clash.razord.top/*
// @icon https://upload.wikimedia.org/wikipedia/commons/0/0b/Clash_Logo.png
// @grant GM_addStyle
// ==/UserScript==
(function() {
'use strict';
const STYLE = `
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans+JP:[email protected]&family=Noto+Sans+KR:[email protected]&family=Noto+Sans+SC:[email protected]&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
body {
font-family: "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Color Emoji", sans-serif, serif;
}
`;
GM_addStyle(STYLE);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment