ansh / jiffyreader.com

A Browser Extension for faster reading on ANY website!
https://www.jiffyreader.com/
GNU General Public License v3.0
3.73k stars 200 forks source link

fix bookmarklet generation and provide coloring for saccades #119

Closed asieduernest12 closed 2 years ago

asieduernest12 commented 2 years ago

the required code to make the bookmarklet work was purely js so i refactored a bit of the code base to for contenscript index and just exported default preferences

the bookmarklet is not customizable though. unless we want to build multiple versions of the bookmarklet but as @ansh said supporting it not really priority given its tendency for requiring extra effort

https://user-images.githubusercontent.com/20851930/172330204-ff9da489-c4fe-4908-8907-6efb3e31105a.mp4

asieduernest12 commented 2 years ago

@jhonalino @X140Yu @ansh bookmarklet works now along with a simpler installation provided in the readme once this is merged.

fix #91 set fixation strength to max to bolden short words or anything else to bolden part or just the initial when slider is set to the lowest

https://user-images.githubusercontent.com/20851930/172329605-36e19072-0efe-4fa0-be98-1cc8059cb2bc.mp4

asieduernest12 commented 2 years ago

fix #56 saccades have been equipped with a color feature, two light mode variants and 2 dark mode variants.

https://user-images.githubusercontent.com/20851930/172329688-c39ef409-b9b0-4211-b50d-78d9f9282b90.mp4

asieduernest12 commented 2 years ago

fix #9 bolded fonts are hard to deal with but luckily we can create the same effect with the new color feature

paxelpixel commented 2 years ago

I really like the saccades color! is that the concept of beeline reading? I also love how you separated the document parser and style from the index! your code is super nice and clean!

asieduernest12 commented 2 years ago

I really like the saccades color! is that the concept of beeline reading? I also love how you separated the document parser and style from the index! your code is super nice and clean!

thanks @jhonalino i split the parse code into its own file cos i needed the also call the parser logic in the bookmarklet code so it made sense to break it up. So the code is now like legos that you just put together kind of how the new firebase api works. very modular.

yeah for the beeline thing it is close but not the same. In beeline it seems each line has a color but here i just added colors for the bolded items.