File: README.epiphany

package info (click to toggle)
epiphany-browser 3.38.2-1%2Bdeb11u3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,476 kB
  • sloc: ansic: 65,045; javascript: 65,029; xml: 1,000; python: 163; sh: 82; makefile: 14
file content (24 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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>