Summary
I’m looking for criteria by which I can create a web page, and [honestly] sure that it will appear in Firefox Reader. Browse if the user wishes.
Some sites have this option, some do not. Some with more text have no option than others with much less text. The stack overflow for the instance displays only the question, not any answers in Reader View.
Question
I have updated Firefox from 38.0.1 to 38.0.5 and found a new ReaderView function - a kind of overlay that removes “page clutter” and makes it easier to read text. Readerview is located on the right side of the address bar as an interactive icon on certain pages.
This is great, but from a programming point of view, I want to know how the "reader view" works, what criteria are the pages to which it relates. I did some research on the Mozilla Firefox website without clear answers (all the answers to all the programming options that I found), I, of course, Googled / Binged, and this only came back with links to Firefox add-ons - this is not an addon but is the main part of the new version of Firefox.
I made the assumption that the readerview used HTML5 and retrieved the contents of <article> , but this is not the case, since it works on Wikipedia, which does not seem to use <article> tags or similar HTML5 tags, instead readview retrieves specific <div> and displays them alone. This feature works on some HTML5 pages, such as Wikipedia, but not on others.
If anyone has ideas on how Firefox ReaderView works and how this operation can be used by website developers, can you share it? Or, if you can find where this information can be located, you can point me in the right direction - since I could not find it.
javascript firefox firefox-reader-view
Martin Jun 05 '15 at 8:18 2015-06-05 08:18
source share