# Embedded readability mode based on Readability.js

This directory contains an official readability.js release version, distributed at: https://github.com/mozilla/readability

## Update process

$ wget https://raw.githubusercontent.com/mozilla/readability/master/Readability.js
$ wget https://raw.githubusercontent.com/mozilla/readability/master/Readability-readerable.js

Copy Readability.js and Readability-readerable.js to <epiphany-source>/third-party/readability/

# Added the following to the bottom of the Readability.js file:

// Added for Epiphany
var documentClone = document.cloneNode(true);
reader = new Readability(documentClone);
reader.parse();

# Added the following to the bottom of the Readability-readerable.js file:

// Added for Epiphany
isProbablyReaderable(document, false);

# Documentation created by Jan-Michael Brummer <jan.brummer@tabos.org>