Skip to content

Fixes for Japanese by lonkaars

Details

Authorlonkaars

LicenseMIT

Categoryplay.google.com

Created

Updated

Size879 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Includes small quality of life improvements for reading Japanese text through Google Play Books

Notes

Features:

  • Force regular weight text for Japanese
  • Make ruby text (furigana) unselectable for copying
  • Remove inverted image filters
  • Remove publisher-specified text color
  • Remove colored links

Source code

/* ==UserStyle==
@name         Fixes for Japanese on Google Play Books
@version      20230720.21.09
@namespace    ?
==/UserStyle== */

@-moz-document url-prefix("https://books.googleusercontent.com/books/reader/frame") {
/* remove publisher-specified and link colors */
reader-rendered-page,
.pcalibre:link {
    color: unset !important;
}

/* remove inverted filters for dark mode
   (these also break lcd font rendering) */
reader-rendered-page,
.-gb-dark .-gb-text svg {
    -webkit-filter: unset !important;
    filter: unset !important;
}

/* force non-bold text for Japanese only
   (applies weird filter to font which make kanji harder to read) */
div[lang="ja"] .b {
    font-weight: normal !important;
}

/* don't select furigana readings when selecting text
   (useful for copy/pasting) */
ruby rt {
    user-select: none !important;
}
}

Reviews

No reviews yet.