Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

https://user-images.githubusercontent.com/6392321/160298183-799a26ad-8435-4a9c-8171-e7b711cf4e47.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.

语言 Languages

JavaScript81.5%
HTML17.0%
CSS1.5%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
0
Total Commits
峰值: 1次/周
Less
More

核心贡献者 Contributors