🌐 Available Languages:
- 🇬🇧 English
- 🇧🇩 বাংলায় পড়ুন
This is a bookmarklet that makes English and Bengali text easier to read by applying a Fast Reading technique. It highlights parts of words to improve readability and speed, without requiring a browser extension.
Footnote: The above section was written in that Fast-Reading format, did you find it easier to read? And the rest of the section is written normally, just to let you feel how easy it is to read using this technique!
🧠 How does it help?
✔️ Increases reading speed – Your brain processes words faster.
✔️ Reduces eye strain – Easier tracking of words.
✔️ Improves focus – Helps people with ADHD, dyslexia, and reading fatigue.
Most of the similar Reading-Helping tools only work for English or Latin scripts, but this bookmarklet brings it to Bengali!
I don't feel safe installing browser extensions that request excessive permissions like "Read and change all your data on all websites." Most similar solutions require full browser access, which feels unnecessary for a simple text-processing task. Also, I didn't find any good resources that supports Bengali text well.
So, I coded this lightweight, permission-free bookmarklet that you can run only when you need it! Just click, and it enhances the text instantly. No installations, no tracking, no security risks.
It works well in Both Bengali and English.
✔️ Works on any webpage
✔️ No installations or permissions required
✔️ Uses Intl.Segmenter for proper Bengali word breaking
✔️ Reversible – Click again to restore the original text
- Click the
Bookmark (star *)
icon on the right side of your browser's top search bar. [You can bookmark any page, we'll edit that later anyway] - Name the bookmark as
Read-Well
- Select the
Bookmark Bar
for the Folder dropdown - Click Done
- Click the
readWell_helper.js
file above, or click here - Click the
Copy Raw file
button to copy the javascript minified code.
javascript:(()=>{let e=(e,t)=>{void 0!=t.nextSibling?t.parentNode.insertBefore(e,t.nextSibling):t.parentNode.appendChild(e)},t="undefined"!=typeof Intl&&void 0!==Intl.Segmenter,n=(e,n)=>{if(t){let r=new Intl.Segmenter(n,{granularity:"word"});return[...r.segment(e)].map(e=>e.segment)}return e.match(/\S+|\s+/g)||[]},r=(e,n)=>{if(t){let r=new Intl.Segmenter(n,{granularity:"grapheme"});return[...r.segment(e)].map(e=>e.segment)}return e.split("")},i=t=>{for(var i=0;void 0!=t.childNodes[i];i++)if("#text"==t.childNodes[i].nodeName&&0!=t.childNodes[i].textContent.trim().length){var l=t.childNodes[i],o=0;let a=n(t.childNodes[i].textContent,"bn");a.forEach(t=>{if(0===t.trim().length){var n=document.createTextNode(t);e(n,l),o++,l=n;return}let i=r(t,"bn"),a=Math.ceil(i.length/2);0===a&&(a=1);let d=document.createElement("b");if(d.innerHTML=i.slice(0,a).join(""),d.classList.add("readingHelper"),e(d,l),o++,l=d,i.length>a){var n=document.createTextNode(i.slice(a).join(""));e(n,l),o++,l=n}}),t.removeChild(t.childNodes[i]),i+=o-1}};var l={B:!0,META:!0,LINK:!0,SCRIPT:!0,STYLE:!0};let o=e=>{if(null!=e&&void 0!=e.body){var t=e.body.getElementsByClassName("readingHelper");if(t.length>0)for(var n=t.length-1;void 0!=t[n];n--){var r=t[n],a=t[n].nextSibling,d=t[n].parentNode,g=r.innerHTML+(a?a.textContent:"");g=g.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),r.replaceWith(document.createTextNode(g)),a&&a.remove(),d.normalize()}else for(var m=e.body.getElementsByTagName("*"),n=0;void 0!=m[n];n++)if(!l[m[n].nodeName]&&1==m[n].nodeType){if("IFRAME"==m[n].nodeName)o(m[n].contentDocument);else{if(0==m[n].childNodes.length)continue;i(m[n])}}}};o(document)})();
- Find the
Read-Well
bookmark on your browser's bookmark bar, right click and select Edit - Paste the previously copied code/text in the URL box.
- Press Save
- Now whenever you need to convert a page's text to Fast-Reading, Just click the
Read-Well
bookmark option and it'll convert the page to Fast-Reading format. - Click the
Read-Well
bookmark option twice and it'll reverse the page to normal. - This code also supports both Bangla and English text conversation.
For feedback: https://www.facebook.com/nafiuladnan or https://www.linkedin.com/in/nafiul-adnan/