@mozilla/readability
Advanced tools
Changelog
[0.4.2] - 2022-02-09
childNodes
property is not live (x2).alt
attribute to find images.parse()
provides the root element's lang
attributeisProbablyReadable
includes article tagsChangelog
[0.4.0] - 2020-12-23
isProbablyReaderable
can now take an optional options object to configure it,
allowing you to specify the minimum content length, minimum score, and how to
check if nodes are visible.
Better support for deeply-nested content.
Readability is now more likely to keep tables of content.
Better support for content in <code>
tags.
Readability (finally) no longer throws away all <h1>
tags.
JSON-LD support for multiple authors was improved.
Elements with roles menu
, menubar
, complementary
, navigation
, alert
,
alertdialog
, dialog
will all be removed.