I find that Bionic Reading is super cool. But their Chrome extension is not quite pleasant to use.
So I create a quick extension. But the algorithm is not as complex as the original one. This extension simply "bionifies" 60% of word length.
function bionifyText(text) { const words = text.split(/\s+/); return words.map(bionifyWord).join(" "); } function bionifyWord(word) { const wordLength = word.length; const numBionifiedCharacters = Math.floor((wordLength * 60) / 100); const bionifiedToken = word.slice(0, numBionifiedCharacters); const theRest = word.slice(numBionifiedCharacters); return `<b>${bionifiedToken}</b>${theRest}`; }
How to use
- Clone the repository
- Open Chrome and go to
chrome://extensions/
- Enable Developer Mode (probably at the top right corner)
- Click "Load unpacked" and choose the repository root directory
- Open any website, highlight the text you want to bionify
- Right click, choose "bionify", and boom!
How to customize
Change the implementation of the function bionifyWord
in bionify.js
however you like, go back to chrome://extensions/
and click the reload icon
Top comments (0)