3 ms·
Unfortunately most sites I visit don't offer reader view as an option.
by cmurf 11y ago
Unfortunately most sites I visit don't offer reader view as an option.
- marssaxman 11y agoIs it something the site has to offer? I thought it was just something the browser was doing on its own, for any page meeting some (undocumented?) criteria.
- mintplant 11y agoYou're correct, the browser extracts and reformats the content. Firefox only shows the Reader View icon for pages where it thinks it can do a good job of that.
- digi_owl 11y agoI find myself wondering if it relies on the "for printing" reformating of various sites. This because i was browsing one site i could have sworn had the icon earlier using desktop Firefox, but it didn't show up. That is until i enable the JS of s third party printing framework in Noscript. After that it showed up.
- mintplant 11y agoIt's using this code: https://github.com/mozilla/readability/blob/master/Readability.js https://github.com/mozilla/readability/blob/master/Readabili... which is a descendant of the original Readability.js published by Arc90, before they decided to turn it into a proprietary Instapaper clone. It extracts what looks like article text from the page markup. DOM elements included for a printer-friendly view could possibly be helping, but it doesn't target that directly.
- plushpuffin 11y agoI'm not entirely sure what is going on with reader view on Firefox mobile, but sometimes it doesn't show the icon in the URL bar. However, if you open the hamburger menu and add the page to your reading list (the "book+" icon), then switch to the reading list and open the page from there, you can sometimes get reader view when it's not otherwise available.
- fencepost 11y agoScrolling slightly down the page then refreshing also does the trick without needing to clear it from your reading list. Just a refresh sometimes works but it's inconsistent. I suspect it's looking at the page before it's fully rendered and determining that it doesn't meet some criterion for reader mode.