Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

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

This comment has been minimized.

Copy link

johnmuir commented Jul 7, 2016

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

@traverseda

This comment has been minimized.

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
You can’t perform that action at this time.