Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bookmarklet #8

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2016-03-03-dsxyliea.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A friend who has dyslexia described to me how she experiences reading. She *can*

I remembered reading about [typoglycemia](https://en.wikipedia.org/wiki/Typoglycemia). Wouldn't it be possible to do it interactively on a website with Javascript? Sure it would.

Feel like making a bookmarklet of this or something? [Fork it](https://github.com/geon/geon.github.com/blob/master/_posts/2016-03-03-dsxyliea.md) on github.
Want to experence this on other pages? Here is the bookmarklet: [dyslexify](javascript:(function()%7Bfunction callback()%7Bfunction n()%7Bfor(var n%3D0%3Bn<r.length%3Bn%2B%2B)for(var t%3Dr%5Bn%5D%2Co%3D0%3Bo<l%5Bn%5D.length%3Bo%2B%2B)if(!(Math.random()>.1))%7Bvar i%3Dl%5Bn%5D%5Bo%5D%2Ca%3Dt.nodeValue.slice(i.position%2Ci.position%2Bi.length)%2Cu%3Dt.nodeValue.slice(0%2Ci.position)%2Cc%3Dt.nodeValue.slice(i.position%2Bi.length)%3Bt.nodeValue%3Du%2Be(a)%2Bc%7D%7Dfunction e(n)%7Breturn n.length<3%3Fn%3An%5B0%5D%2Bt(n.slice(1%2C-1))%2Bn%5Bn.length-1%5D%7Dfunction t(n)%7Bif(n.length<2)return n%3Bfor(var e%2Ct%3B!(t>e)%3B)e%3Do(0%2Cn.length-1)%2Ct%3Do(0%2Cn.length-1)%3Breturn n.slice(0%2Ce)%2Bn%5Bt%5D%2Bn.slice(e%2B1%2Ct)%2Bn%5Be%5D%2Bn.slice(t%2B1)%7Dfunction o(n%2Ce)%7Breturn Math.floor(Math.random()*(e-n%2B1)%2Bn)%7Dfor(var i%3Dfunction(n)%7Breturn %24(n).find("%3Anot(iframe%2Cscript)").addBack().contents().filter(function()%7Breturn 3%3D%3Dthis.nodeType%7D)%7D%2Cr%3Di(%24("*"))%2Cl%3D%5B%5D%2Ca%3D0%3Ba<r.length%3Ba%2B%2B)%7Bfor(var u%2Cc%3Dr%5Ba%5D%2Cf%3D%5B%5D%2Ch%3D%2F%5Cw%2B%2Fg%3Bnull!%3D(u%3Dh.exec(c.nodeValue))%3B)%7Bvar s%3Du%5B0%5D%2Cg%3Du.index%3Bf.push(%7Blength%3As.length%2Cposition%3Ag%7D)%7Dl%5Ba%5D%3Df%7DsetInterval(n%2C50)%7Dvar s%3Ddocument.createElement("script")%3Bs.src%3D"%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fjquery%2F2.0.3%2Fjquery.min.js"%3Bif(s.addEventListener)%7Bs.addEventListener("load"%2Ccallback%2Cfalse)%7Delse if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)())

> Dyslexia is characterized by difficulty with learning to read fluently and with accurate comprehension despite normal intelligence. This includes difficulty with phonological awareness, phonological decoding, processing speed, orthographic coding, auditory short-term memory, language skills/verbal comprehension, and/or rapid naming.

Expand Down