Add a reading mode, that reformats the webpage to display only the body text. This will likely be a time consuming feature to implement unless Google adds it to `WebView`.
Updated by Soren Stoutner about 6 years ago
In Android < 4.4, the WebView was based on WebKit. It included two layout options (WebSettings.LayoutAlgorithm.NARROW_COLUMNS and WebSettings.LayoutAlgorithm.SINGLE_COLUMN) that were used to reformat the page for reading mode.
When WebView was rebased on Blink to share the same codebase as Chromium in Android 4.4 these layout options were removed.
Three is currently no easy way to do a reader mode using WebView. Perhaps it will be something that can be added in Privacy WebView, but it will likely require a bunch of work.
Updated by Soren Stoutner over 4 years ago
- Subject changed from Reading Mode to Reader Mode
If Google doesn't decide to expose this feature in WebView, it should be fairly simple to enable it in Privacy WebView because the code is already included in the source.
@Prince Cooper, both aren't the same. Reader Mode is an interpretation mechanism where the body text is primarily focused leaving the rest of the functions and CSS jargon. Whereas text only mode is a rendering layout where all the site functions compiled and printed only in the text form.
If you wanna taste some of its experience, try lynx browser on any Linux.
Reader Mode doesn't necessarily improve the performance, as you're still parsing the whole site including JS. But text mode omits everything & just prints the html (which is mostly useless for the current internet).
@Soren Stoutner I think google probably won't implement it in anytime. The codebase exists in chromium outside webview, under Accessibilities. It's not designed to be permanent, caz web is volatile and changes everyday.