3 ms·
It might be as simple as not adding any semantic markup (an article element for example) for Reader View to use, but you could do all sorts of things with eleme
by dwd 6y ago
It might be as simple as not adding any semantic markup (an article element for example) for Reader View to use, but you could do all sorts of things with element positioning or pseudo elements to mess it up for non-humans.
- ciarannolan 6y agoApparently it's a pretty complicated, holistic system of pulling just the main text. FF uses this for its reader view: https://github.com/mozilla/readability https://github.com/mozilla/readability