Skip to content

ltguillaume/bread

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 10 commits ahead, 1 commit behind tobyxdd:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
February 20, 2023 16:27

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