-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNoto_Sans_for_Google.user.js
More file actions
32 lines (31 loc) · 1.05 KB
/
Noto_Sans_for_Google.user.js
File metadata and controls
32 lines (31 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// ==UserScript==
// @name Noto Sans for Google
// @namespace https://github.com/sinazadeh/userscripts
// @version 1.0.1
// @description Replaces Arial, Roboto, and Open Sans with the locally installed Noto Sans font on Google websites.
// @author TheSina
// @match *://*.google.*/*
// @exclude *://*.google.*/recaptcha/*
// @grant GM_addStyle
// @run-at document-start
// @license MIT
// @downloadURL https://raw.githubusercontent.com/sinazadeh/userscripts/refs/heads/main/Noto_Sans_for_Google.user.js
// @updateURL https://raw.githubusercontent.com/sinazadeh/userscripts/refs/heads/main/Noto_Sans_for_Google.meta.js
// ==/UserScript==
(function () {
'use strict';
GM_addStyle(`
@font-face {
font-family: 'Arial';
src: local('Noto Sans');
}
@font-face {
font-family: 'Roboto';
src: local('Noto Sans');
}
@font-face {
font-family: 'Open Sans';
src: local('Noto Sans');
}
`);
})();