Page 3 of 8

Re: Reader View for Pale Moon

Posted: 2018-01-13, 01:16
by Isengrim
Reader View 1.1.2 is now up. The Pale Moon addons page and the github repository have both been updated. Please see the release notes for details.

This release includes several localization updates and bugfixes, most notably the issue with the reader button not updating properly for tabs loaded in the background.

Happy reading!

Re: Reader View for Pale Moon

Posted: 2018-01-14, 22:43
by Isengrim
Reader View 1.1.3 is now up. The Pale Moon addons page and the github repository have both been updated. Please see the release notes for details.

This release includes several localization updates and a couple of bugfixes.

Quick roadmap update: My first priority is to see if it's possible to display the original page URL instead of the less friendly "about:reader" URL in the location bar (#7). After that, I intend to start working on the option for "docking" the button in the location bar (#16), something that has been requested a few times.

Happy reading!

Re: Reader View for Pale Moon

Posted: 2018-01-16, 11:16
by fatboy
Isengrim wrote:Reader View 1.1.3 is now up. The Pale Moon addons page and the github repository have both been updated. Please see the release notes for details.

This release includes several localization updates and a couple of bugfixes.

Quick roadmap update: My first priority is to see if it's possible to display the original page URL instead of the less friendly "about:reader" URL in the location bar (#7). After that, I intend to start working on the option for "docking" the button in the location bar (#16), something that has been requested a few times.

Happy reading!
This is great! Thank You so much! I love this add-on! I especially enjoy the docking you speak of :D

Re: Reader View for Pale Moon

Posted: 2018-01-20, 02:34
by Isengrim
Reader View 1.2.0 is now up. The Pale Moon addons page and the github repository have both been updated. Please see the release notes for details.

This release includes a new option to show the Reader View button in the URL bar instead of as a moveable button. You can enable this by going to about:config and setting extensions.reader.location.urlbar to true.

Happy reading!

Re: Reader View for Pale Moon

Posted: 2018-01-28, 08:11
by jars_
Excellent! and the setting is useful, well done.
to me, it's sensless to have a white background, I replaced it everywhere in a browser. I`ll made a small replacement for the ReaderView "white mode" via userContent.css : delicate green :)

Code: Select all


@-moz-document url-prefix("about:reader?url=") {

.light-button,
.dark-button,
.sepia-button {
	font-weight: 600 !important;
	}

.light-button:hover {
	color: #001D00 !important;
	background-color: #73D09C !important;
	text-shadow: 1px 2px 3px #7BD8A4 !important;
	}

.dark-button:hover {
	color: #E9E9E9 !important;
	background-color: #323232 !important;
	text-shadow: 1px 2px 3px #111 !important;
	}

.sepia-button:hover {
	color: #594535 !important;
	background-color: #EFE7D4 !important;
	text-shadow: 1px 2px 3px #FBF3E0 !important;
	}

A {
	color: #004000 !important;
	}

body.light {
	color: #001D00 !important;
	background-color: #A7E7B3 !important;
/*	text-shadow: 2px 1px 2px #7BD8A4 !important;*/
	}

ARTICLE.b-singlepost-body {
	font-family: "Segoe UI" !important;
	font-style: italic !important;
	}

 P {
	font-family: Georgia, Verdana,"Microsoft Sans Serif","Segoe UI",Cambria, "Franklin Gothic" !important;
	font-style: italic !important;
	font-size: 1.2em !important;
	}

#reader-toolbar:not(:hover),
.reader-toolbar:not(:hover) {
	opacity: 0.3;
	}

#reader-toolbar,
.reader-toolbar {
	background-color: #B9B7B3 !important;
	}

BUTTON {
	background-color: #B9B7B3 !important;
	}

BUTTON:hover {
	background-color: #E3E1DD !important;
	}

BUTTON[class="selected"] {
	color: #0080FF  !important;
	font-weight: 600 !important;
	}


BUTTON#close-button:hover,
BUTTON.close-button:hover {
	background-color: #DC143C !important;
	}


}


Re: Reader View for Pale Moon

Posted: 2018-01-28, 17:13
by Isengrim
There's actually an add-on (possibly more than one) that does give you more options for changing fonts and colors: Better Reader. I had tossed around the idea of integrating some of these features.

Re: Reader View for Pale Moon

Posted: 2018-02-07, 01:33
by f-117
I noticed (When in reader view) under the page title, there is a small "time" (#-# minutes) text shown.

I'm not sure what this "time text" is for, but I wonder if you could look into removing it from the view display? Is it needed for the reader view to function properly? If not, maybe it can be removed?

Also, how is #7 (Show original URL in location bar) fix coming? Any new ideas on this?

Scott

Re: Reader View for Pale Moon

Posted: 2018-02-07, 02:10
by Isengrim
The reading time is there to provide an estimate for how long it takes to read the article. The Firefox implementation uses language detection and a few statistics to calculate the time based on what language the article is in; since Pale Moon has no language detection API and since I do not think it is practical to include this enormous amount of code in the add-on, the time is calculated assuming the article is in English. It isn't strictly required for the add-on to function. It could be removed, but I prefer to leave it in. Without language detection, the feature is actually quite small.

As for issue #7, I haven't closed the issue yet because I was considering still trying to work on it, I just haven't had time lately. But as I mentioned here, full integration like what Firefox has would require making a lot of impractical changes and replacing certain components deep within the browser that I am just not comfortable doing in an add-on. If folks really want a way to get the original URL without having to close Reader View, I may look at other options.

Re: Reader View for Pale Moon

Posted: 2018-02-08, 06:33
by fatboy
Isengrim wrote:The reading time is there to provide an estimate for how long it takes to read the article. The Firefox implementation uses language detection and a few statistics to calculate the time based on what language the article is in; since Pale Moon has no language detection API and since I do not think it is practical to include this enormous amount of code in the add-on, the time is calculated assuming the article is in English. It isn't strictly required for the add-on to function. It could be removed, but I prefer to leave it in. Without language detection, the feature is actually quite small.

As for issue #7, I haven't closed the issue yet because I was considering still trying to work on it, I just haven't had time lately. But as I mentioned here, full integration like what Firefox has would require making a lot of impractical changes and replacing certain components deep within the browser that I am just not comfortable doing in an add-on. If folks really want a way to get the original URL without having to close Reader View, I may look at other options.
Thank you for this add-on and the hard work you do. This is literally my most favourite feature in Pale Moon :D

Re: Reader View for Pale Moon

Posted: 2018-02-08, 16:21
by fillerup
Isengrim wrote:There's actually an add-on (possibly more than one) that does give you more options for changing fonts and colors: Better Reader. I had tossed around the idea of integrating some of these features.
ah shame, not compatible with Pale Moon. perchance, do you know of any others that are?

Re: Reader View for Pale Moon

Posted: 2018-02-08, 18:49
by Isengrim
fillerup wrote:ah shame, not compatible with Pale Moon. perchance, do you know of any others that are?
None that do what that one does, no. Even if Better Reader were made compatible with Pale Moon, I'm not sure it will work as expected due to differences in implementation between Firefox (native) and Pale Moon (add-on).

That said, I can look into implementing some of the features BR provides (namely custom fonts and custom color schemes) if folks are interested. The only caveat is that translations will likely need to be updated as well.

Re: Reader View for Pale Moon

Posted: 2018-02-09, 03:50
by fillerup
yes please, even something as simple as a color inverter/'night mode' would be so useful.

thank you for your work!

Re: Reader View for Pale Moon

Posted: 2018-02-09, 05:00
by Isengrim
fillerup wrote:yes please, even something as simple as a color inverter/'night mode' would be so useful.

thank you for your work!
If you look in the type controls on the left, you can change the theme from light to dark or sepia.

Re: Reader View for Pale Moon

Posted: 2018-02-09, 05:07
by fillerup
Isengrim wrote:If you look in the type controls on the left, you can change the theme from light to dark or sepia.
wow, can't believe i miss it, it's more than enough for me. though i'd like the left control bar to be inverted as well if possible

Re: Reader View for Pale Moon

Posted: 2018-02-15, 07:58
by pmjack
Thanks for porting this over to palemoon.

I miss a couple features that I would like to suggest for improvement. First is that I sometime use the narration for listening to articles in the background while I do other stuff, so I was wondering if you could add this feature in the future?
The second request is adding a "Open Link in Reader Mode" context menu. It's not a native feature in Firefox, but there is an addon[1] by the same name that allows me to do this. This pretty much bypass loading in the site first and then clicking on the reader button. Not only that, but it save your from loading garbage javascripts and rendering the dom, etc etc. I use this all the time and more so than the narration features. I hope you could add this feature!

[1]https://addons.mozilla.org/en-US/firefox/addon/reader-view/

Re: Reader View for Pale Moon

Posted: 2018-02-15, 11:28
by Isengrim
pmjack wrote:First is that I sometime use the narration for listening to articles in the background while I do other stuff, so I was wondering if you could add this feature in the future?
I did actually look into making a sort of "companion add-on" to add Narration. It's a very large chunk of code and porting it to an add-on would not be trivial to do. I won't say it's completely out of the question, but I don't know how feasible it is. If this does happen, it won't be for a while.

Edit: The reason one would have to include this as an add-on is because Pale Moon does not include speech synthesis tools, which Reader View's Narrate feature depends on to work.
pmjack wrote:The second request is adding a "Open Link in Reader Mode" context menu.
This I can do. :) I saw the add-on you mentioned before and considered adding something like it. Just haven't gotten around to it.

Re: Reader View for Pale Moon

Posted: 2018-02-15, 19:06
by fatboy
Open Link in Reader Mode is an amazing idea! I would love it!

Re: Reader View for Pale Moon

Posted: 2018-02-15, 21:05
by sgage
I like to use a reader view once in a while, so I went to the Add-ons page and tried them all. I liked Tranquility the best (mostly because it worked), and that's what I'm using today. Very nice, simple, but capable.

Re: Reader View for Pale Moon

Posted: 2018-02-15, 23:51
by Isengrim
I apparently misread the earlier post. I was under the impression that the aforementioned add-on only adds a context menu entry for opening Reader View on the current page. After looking through the code (and re-reading your posts) I could still add a feature for opening the selected link in Reader View, but depending on the format of the link or whether the site is "readerable" RV may or may not actually work.

Re: Reader View for Pale Moon

Posted: 2018-02-17, 21:53
by pmjack
I only open article links with that Firefox reader addon anyway, so it would still work for this purpose. Looking forward to it :D