Last active
May 23, 2020 22:41
-
-
Save harai/6616521 to your computer and use it in GitHub Desktop.
A Greasemonkey script which changes the font family of Kindle Cloud Reader to sans-serif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Font Changer for Kindle Cloud Reader | |
// @namespace https://github.com/harai/ | |
// @include https://read.amazon.com/* | |
// @run-at document-start | |
// @version 1 | |
// ==/UserScript== | |
if (!location.pathname.match(/KindleReaderApp.html$/)) { | |
return; | |
} | |
var s = document.createElement("style"); | |
s.type = "text/css"; | |
s.textContent = "* { font-family: sans-serif !important; }"; | |
document.head.appendChild(s); |
Aha. I've found the addon for Firefox; pity I use Chrome...
Use tampermonkey...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exactly how does one use the script? I can't embed it in the Kindle web pages. So how?