Does anyone know how to completely hide Furigana from Aozora Bunko books? Or even better, selectively hide based on WaniKani Level?
Thanks,
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);
})();
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â
In the developer console, look at the left side, in the âStylesâ tab, and you will see there is an element called ârtâ:
Click inside the element, and add the text:
display: none;
This should hide all furigana in the book:
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.
Amazing! Thanks so much
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.