Removing furigana from Aozora Bunko free ebooks

Does anyone know how to completely hide Furigana from Aozora Bunko books? Or even better, selectively hide based on WaniKani Level?

Thanks,

Quick solution to hide all furigana,

// ==UserScript==
// @name        Aozora Bunko without Furigana
// @namespace   rfindley
// @description Removes furigana from Aozora Bunko
// @version     1.0.0
// @match       https://www.aozora.gr.jp/*
// @copyright   2018+, Robin Findley
// @license     MIT; http://opensource.org/licenses/MIT
// @run-at      document-end
// @grant       none
// ==/UserScript==

(function() {
    var css = document.createElement('style');
    css.innerHTML = 'rt {display:none}';
    document.querySelector('head').appendChild(css);
})();
6 Likes

A slightly more manual way to do what @rfindley explained above, in case you don’t want to deal with custom scripts.

It is a bit of a hack, and these instructions are a bit technical, but what I did when I wanted to remove the furigana was the following:

Right click on any furigana in the book, and choose “Inspect Element”

image

In the developer console, look at the left side, in the “Styles” tab, and you will see there is an element called “rt”:

image

Click inside the element, and add the text:

display: none;

image

This should hide all furigana in the book:

image

After that I just printed the whole page as a PDF so that I didn’t need to do this again every time I loaded the page.

These instructions are for Chrome, but Firefox is very similar as far as I know.

6 Likes

Amazing! Thanks so much

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.