ds300 / jetzt

Speed reader extension for chrome
Other
485 stars 124 forks source link

Ignore Wikipedia annotations #130

Open nomicode opened 10 years ago

nomicode commented 10 years ago

When speed-reading Wikipedia the [annotations] get quite distracting. Should we filter these out?

Some sample markup:

<span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Long_barrow&amp;action=edit&amp;section=1" title="Edit section: Long barrows in the United Kingdom">edit</a><span class="mw-editsection-bracket">]</span></span>
<p>50% of the long barrows in <a href="/wiki/Gloucestershire">Gloucestershire</a>, 66% in <a href="/wiki/Hampshire">Hampshire</a>, 80% in <a href="/wiki/Lincolnshire">Lincolnshire</a> and almost all the burial mounds in <a href="/wiki/Essex">Essex</a> have been damaged. According to <a href="/wiki/English_Heritage">English Heritage</a> modern tillage techniques have done as much damage in the last six decades as traditional tilling did in six centuries.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span>[</span>1<span>]</span></a></sup></p>

Perhaps we can special case the class names?

ds300 commented 10 years ago

soon :)

Regex filtering and CSS selector filtering are already implemented. All that remains is the new executor/instruction format and figuring out what the UI should look like when paused, when selecting text to read, and when displaying 'asides' like images or code blocks. Any ideas on that front?