QupZilla / qupzilla-plugins

Plugins for QupZilla browser
http://www.qupzilla.com
34 stars 22 forks source link

Reader mode #58

Open GreenLunar opened 8 years ago

GreenLunar commented 8 years ago

Plugin to imitate Reader extension, Reader View of Firefox, with an option to invert colors like Dark Reader does (see also this UserJs script) or an option to choose from a list of frequently-used stylesheets.

@jornmo @jamesqf @Dax89

jamesqf commented 8 years ago

Humm... I know nothing about JavaScript, but just looking at the code for the linked UserJs, it seems to have a major flaw. It changes background color, but not foreground, so you'd wind up with the old black text on black background problem.

GreenLunar commented 8 years ago

I suggest to take a close look at https://ejucovy.github.io/readability/ (video)

On a second thought, I think this plugin should be built-in, like AdBlock.

GreenLunar commented 8 years ago

I figured of the possibility to use existing code, such as breadability, by providing a way to write plugins in Python.

[Extensions] Python API https://github.com/QupZilla/qupzilla/issues/1930

Reworked Python Readability parsing library. https://github.com/bookieio/breadability

GreenLunar commented 8 years ago

Humm... I know nothing about JavaScript, but just looking at the code for the linked UserJs, it seems to have a major flaw. It changes background color, but not foreground, so you'd wind up with the old black text on black background problem.

Do you like this script better?