Skip to content

ahrm/chrome-fastread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vlc-record-2022-03-28-00h13m48s-2022-03-28.00-10-49.mkv-.mp4

A chrome extension to enable faster readability of web pages. Inspired by this hackernews article: https://news.ycombinator.com/item?id=30787290.

Firefox version: https://github.com/akay/firefox-fastread

How to install

  1. git clone https://github.com/ahrm/chrome-fastread.git
  2. Follow https://developer.chrome.com/docs/extensions/mv3/getstarted/#unpacked

Algorithm Specification

We allow you to customize highlight algorithm using a string similar to this:

- 0 1 1 2 0.4

Note that all numbers and characters are separated by a space. Here is what this string means:

- 0 1 1 2 0.4
^

The first character can be either - or +. If it is -, we don't highlight common english words (for example 'a', 'and', etc.) if it is '+' we highlight all words.

- 0 1 1 2 0.4
  ^

This specifies the number of highlighted characters for words with length 1. For example 'a' and 'I'. Here we have specified that we don't want to highlight these characters.

- 0 1 1 2 0.4
    ^

This specifies the number of highlighted characters for words with length 2. For example 'an' and 'or'. Here we have specified that we highlight the first character of these words.

- 0 1 1 2 0.4
      ^

Highlight the first character of 3 letter words.

- 0 1 1 2 0.4
        ^

Highlight the first two character of 4 letter words.

- 0 1 1 2 0.4
           ^

Unlike the previews entries, the last entry is a fractional value between 0 and 1 which specified which fraction of words that are not specified by previous rules must be highlighted. For example, here we highlight the first 40% characters of words with 5 or more characters.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published