Skip to content

Instantly share code, notes, and snippets.

@danielrozenberg
Created July 26, 2020 06:11
Show Gist options
  • Save danielrozenberg/ad9aabf22177f89d5471707bc251ba45 to your computer and use it in GitHub Desktop.
Save danielrozenberg/ad9aabf22177f89d5471707bc251ba45 to your computer and use it in GitHub Desktop.
Add this to your Firefox profile (under .../profile-directory/chrome) to justify the text in Reader View
.moz-reader-content p {
text-align: justify;
}
@danielrozenberg
Copy link
Author

Step-by-step instructions, based on instructions from this Stack Overflow answer:

  1. Go to the about:support page
  2. Find the Open Folder button in the Profile Folder row and click it
  3. If it does not exist, create a new directory called chrome (lower case) (yes this is for Firefox, chrome is a technical term used by Firefox before Google created their browser)
  4. Save the above file to this new directory
  5. If you use are using Firefox 69 or newer, userContent.css is disabled by default. To enable it:
    1. go to the about:config page and acknowledge the warning
    2. in the search bar type toolkit.legacyUserProfileCustomizations.stylesheets, double click the row to change its value from false to true
  6. Restart Firefox and rejoice!

@yCamp-20
Copy link

It worked like a charm. Thanks!

@danielrozenberg
Copy link
Author

Glad I could help :)

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