2 ms·
You'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.
by mintplant 11y ago
You'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.