A standalone version of the readability library used for Firefox Reader View.
To parse a document, you must create a new
Readabilityobject from a document object, and then call
parse(). Here’s an example:var article = new Readability(document).parse();
articleobject will contain the following properties:
title: article title
content: HTML string of processed article content
length: length of an article, in characters
excerpt: article description, or short excerpt from the content
byline: author metadata
dir: content direction
If you’re using Readability on the web, you will likely be able to use a
documentreference from elsewhere (e.g. fetched via XMLHttpRequest, in a same-origin
<iframe>you have access to, etc.).
Do you want a deep and nerdy dive into the web browser rendering and how the upcoming WebRender rendering engine for Firefox will use the GPU more like games currently do?
[T]here’s another big piece of Servo technology that’s not in Firefox Quantum quite yet, though it’s coming soon. That’s WebRender, which is being added to Firefox as part of the Quantum Render project.
[T]he web looks more and more like a feudal system, where the geography of the web has been partitioned off by the Frightful Five. Google, Facebook, Microsoft, Apple and Amazon are our lord and protectors, exacting a royal sum for our online behaviors. We’re the serfs and tenants, providing homage inside their walled fortresses. Noble upstarts are erased or subsumed under their existing order.