Project

General

Profile

Feature #183

Reader Mode

Added by Soren Stoutner about 2 years ago. Updated 6 months ago.

Status:
New
Priority:
4.x
Start date:
08/28/2017
Due date:
% Done:

0%

Estimated time:

Description

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`.

History

#1

Updated by Soren Stoutner about 2 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.

https://developer.android.com/reference/android/webkit/WebSettings.LayoutAlgorithm.html

When WebView was rebased on Blink to share the same codebase as Chromium in Android 4.4 these layout options were removed.

https://developer.android.com/guide/webapps/migrating.html#Columns

https://en.wikipedia.org/wiki/Blink_(web_engine)

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.

#2

Updated by Soren Stoutner 6 months ago

  • Priority changed from 3.x to 4.x
#3

Updated by Soren Stoutner 6 months 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.

https://tech.slashdot.org/story/19/04/18/1558246/google-chrome-to-get-a-reader-mode

Also available in: Atom PDF