[go: nahoru, domu]

Skip to content

ltguillaume/bread

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bread

by tobyxdd, modified by ltGuillaume: Codeberg | GitHub | Buy me a beer 🍺

An open-source Bionic reading userscript implementation.

Screenshot

Getting started

  1. Install a userscript manager in your browser (this script has been tested with ViolentMonkey)
  2. Open bread.user.js and confirm installation

Configurable values

Key Value Description
minWordLength 4 Minimum length of a word to be "bionified"
minTextLength 20 Minimum length of a paragraph to be "bionified"
boldRatio .4 Percentage of letters in each word that will be bolded
processDyn True Whether to process dynamically loaded content
breadAllSites True Whether to apply to all sites visited, or just the ones listed in breadSites
breadSites {} Restrict bread to a specific node per domain (use a CSS query, or False for default body node), and optionally inject custom CSS:
{ "domain_part" : "css_selector", "domain_part" : ["css_selector", "custom_css"] }

You can change these values in your userscript manager.

Credits