View Single Post
Old 08-30-2020, 04:01 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by MarjaE View Post
I have a severe astigmatism. Everywhere, I need to force Firefox 80 to use more readable-for-me fonts and font sizes.
You can install the GreaseMonkey/Tampermonkey browser plugins and override pretty much any style with your own style.

For example, the following user script will change the font, the font size and the font color of user reviews.

Code:
// ==UserScript==
// @name     Fix Goodreads styles
// @include  *.goodreads.com/book*
// @version  1
// @grant    none

// ==/UserScript==
function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}
addGlobalStyle('.readable {font-family: "Comic Sans MS"; font-size: 130%; color: blue; !important; }');
To install it select New user script..., overwrite the template with the above code and save it.

If you then select a book review, for example, this one, you should see a difference.

For more information, see this website.
Attached Thumbnails
Click image for larger version

Name:	before.PNG
Views:	314
Size:	24.9 KB
ID:	181651   Click image for larger version

Name:	after.PNG
Views:	308
Size:	27.2 KB
ID:	181652  
Doitsu is offline   Reply With Quote