Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Reader mode #58

Open
GreenLunar opened this issue Mar 26, 2016 · 4 comments
Open

Reader mode #58

GreenLunar opened this issue Mar 26, 2016 · 4 comments

Comments

@GreenLunar
Copy link

GreenLunar commented Mar 26, 2016

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
Copy link

jamesqf commented Mar 27, 2016

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 GreenLunar changed the title Reader mode Readability Apr 2, 2016
@GreenLunar
Copy link
Author

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 GreenLunar changed the title Readability Reader mode Apr 2, 2016
@GreenLunar
Copy link
Author

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

[Extensions] Python API
QupZilla/qupzilla#1930

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

@GreenLunar
Copy link
Author

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?

ghost referenced this issue May 2, 2016
* Added initial files of Readability plugin.

* Modified rendering of readability view.

* Added Readablility side Toolbar.

* Code refactoring of JS functions.

* Added README, fixed bug of readability with any types of pages.

* Incorporation of comments from pull request.

* Added copyright, deleted unused file.

* Replacement methods split() and join() for method remove(), code refactoring.

* Deleted unused method.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants