Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like it. However, I found a site that breaks it: http://www.instigatorblog.com/the-art-and-science-of-the-sma... ... When I click my 'Readability' bookmarklet in Chrome, the main article is removed completely, and all that's left is the blog entry's comments. Here is the exact Readability bookmarklet I'm using:

  javascript:(function(){
  readStyle='style-newspaper';
  readSize='size-medium';
  readMargin='margin-medium';
  _readability_script=document.createElement('SCRIPT');
  _readability_script.type='text/javascript';
  _readability_script.src='http://lab.arc90.com/experiments/readability/js/readability-0.1.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';
  document.getElementsByTagName('head')[0].appendChild(_readability_css);
  _readability_print_css=document.createElement('LINK');
  _readability_print_css.rel='stylesheet';
  _readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';
  _readability_print_css.media='print';
  _readability_print_css.type='text/css';
  document.getElementsByTagName('head')[0].appendChild(_readability_print_css);
  })();


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: