DBDigital / nookapps

Automatically exported from code.google.com/p/nookapps Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Add "improve-readability" javascript to html pages #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I can't seem to find another way to contact anyone.

Maybe this is stupid, but 
http://lab.arc90.com/experiments/readability/ 
is a "site" or code string that removes all ads from most web content and 
puts it into an ideal text format for an e-reader. 

Is there any way this could be implemented into Trook's news and journal 
feed links?

I'm no coder, but it looks like implementing this string into existing 
links/browser would be an easy one-on.

From Readability:
javascript:(function(){readStyle='style-newspaper';readSize='size-
medium';readMargin='margin-wide';_readability_script=document.createElement
('SCRIPT');_readability_script.type='text/
javascript';_readability_script.src='http://lab.arc90.com/experiments/
readability/js/readability.js?x='+(Math.random
());document.getElementsByTagName('head')[0].appendChild
(_readability_script);_readability_css=document.createElement
('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://
lab.arc90.com/experiments/readability/css/
readability.css';_readability_css.type='text/
css';_readability_css.media='all';document.getElementsByTagName('head')
[0].appendChild
(_readability_css);_readability_print_css=document.createElement
('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='ht
tp://
lab.arc90.com/experiments/readability/css/readability-
print.css';_readability_print_css.media='print';_readability_print_css.type='tex
t/
css';document.getElementsByTagName('head')[0].appendChild
(_readability_print_css);})();

Original issue reported on code.google.com by cremes...@gmail.com on 4 Feb 2010 at 5:51

GoogleCodeExporter commented 8 years ago
That's a nifty idea, thank you for the pointer and suggestion.

I'll add this to the enhancement bucket, and maybe find a way to enable it via a
settings so it can be turned on/off conveniently.

Original comment by kbsriram on 4 Feb 2010 at 5:01

GoogleCodeExporter commented 8 years ago

Original comment by kbsriram on 19 Feb 2010 at 5:53