Skip to content

Instantly share code, notes, and snippets.

@harai
Last active May 23, 2020 22:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save harai/6616521 to your computer and use it in GitHub Desktop.
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
// ==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);
@johnmuir
Copy link

johnmuir commented Jul 7, 2016

Exactly how does one use the script? I can't embed it in the Kindle web pages. So how?

@johnmuir
Copy link

johnmuir commented Jul 7, 2016

Aha. I've found the addon for Firefox; pity I use Chrome...

@traverseda
Copy link

traverseda commented Aug 15, 2016

@johnmuir

Use tampermonkey...

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