Open explorigin opened 10 years ago
I've got a change that fixes this pretty easily. I plan on using this script myself!
Edit: you can review the changes here: https://github.com/brandonpatrick/rsvp-bookmarklet/commit/a6205cfb942cbbf1f26b471ceae97ae18e3f176f
I actually do a lot of slow downs and over the cases you mention. Probably not a big enough slow down but you could change the values and see what works for you.
I don't do paragraph endings though currently which could be added.
if(/.[^a-zA-Z\d\s:]./.test(word)) {
/* slow down for weird(special chars) words */
this.nextInterval = this.baseInterval * 1.3;
} else if(word.length > 7) {
/* slow down for longer words */
this.nextInterval = this.baseInterval * 1.1;
} else if(/^[^a-zA-Z\d\s:]/.test(word)) {
/* slow down for beginning of quote or brackets or weird chars */
this.nextInterval = this.baseInterval * 1.3;
} else if(/[^a-zA-Z\d\s:]$/.test(word)) {
/* slow down for end of sentences */
this.nextInterval = this.baseInterval * 1.3;
Thanks for this, it's pretty cool.
One difference I noticed that makes this less-usable than what is on spritzinc is the use of delays to help the mind form natural breaks. For example, at the end of a sentence try doubling or tripling the delay before the word starting the next sentence. Similarly add more of a delay between paragraphs.
I think this simple change will dramatically improve reading comprehension over the current form.