Skip to content

Instantly share code, notes, and snippets.

@rayanfer32
Last active March 18, 2024 11:23
Show Gist options
  • Save rayanfer32/1fb2b60207ca5b1f29d7107f8f750226 to your computer and use it in GitHub Desktop.
Save rayanfer32/1fb2b60207ca5b1f29d7107f8f750226 to your computer and use it in GitHub Desktop.
Monospace fonts for google keep notes
// ==UserScript==
// @name Google Keep monospace font
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://keep.google.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.body.style.fontFamily = "monospace"
const css = `.XKSfm-L9AdLc .IZ65Hb-YPqjbf{
font-family: inherit;
}
.IZ65Hb-YPqjbf{
font-family: inherit;
}
`
let INJECTED_CSS = document.createElement('style');
INJECTED_CSS.textContent = css
document.head.append(INJECTED_CSS)
})();
@traptw1thin
Copy link

how do you use this? Can you provide info on how to install it?

@rayanfer32
Copy link
Author

how do you use this? Can you provide info on how to install it?

Use tampermonkey extension and import this script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment