Commit Graph

44 Commits

Author SHA1 Message Date
Alex Nagacevschi
53e782ed8e Bug 800188 - Add preliminary support RTL content in reader mode (r=lucasr) 2013-01-10 11:47:05 +00:00
Michael Anderson
025e8865ff Bug 786603 - Misc coding style fixes in Readability.js (r=lucasr) 2012-09-10 12:21:34 -04:00
Lucas Rocha
cfcd20a62f Bug 788119 - Don't even parse home pages in Reader's worker thread (r=mfinkle) 2012-09-06 18:55:24 +01:00
Brian Nicholson
dfe9cb5460 Bug 787570 - Fix relative URLs in reader mode. r=lucasr 2012-09-04 10:50:03 -07:00
Brian Nicholson
18e173263e Bug 784386 - Part 11: Replace setting innerHTML with textContent for text. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
c2fc3ba2ef Bug 784386 - Part 10: Remove killBreaks(). r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
100f0212ea Bug 784386 - Part 9: Move pageCacheHtml outside of loop. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
49399e08b0 Bug 784386 - Part 8: Replace innerHTML call for divToPElements search. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
76d6f8112c Bug 784386 - Part 7: Replace innerHTML call for readability-page-1 <div>. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
87c5077409 Bug 784386 - Part 6: Replace innerHTML call for putting sibling in <div>. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
aa508e823f Bug 784386 - Part 5: Replace innerHTML call for topCandidate. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
946d52dcf1 Bug 784386 - Part 4: Replace innerHTML call for <div> to <p> conversion. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
a9a4ad2d85 Bug 784386 - Part 3: Replace innerHTML call for <br><p> to <p> conversion. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
f41e02d9b9 Bug 784386 - Part 2: Replace innerHTML call for <font> to <span> conversion. r=lucasr 2012-08-31 15:56:13 -07:00
Brian Nicholson
43ec7b25f5 Bug 786842 - Fix replaceBrs() typo for checking whitespace. r=lucasr 2012-08-31 15:33:01 -07:00
Lucas Rocha
8f6e4199dd Bug 777562 - Pass the right node to have styles cleaned after parsing (r=mfinkle) 2012-08-25 11:27:27 +01:00
Lucas Rocha
94c8af47a2 Bug 785343 - Don't convert DIV to P when it only contains a SELECT node (r=mfinkle) 2012-08-25 11:27:27 +01:00
Lucas Rocha
a5968cbbbe Bug 774914/785145 - Convert divs with only a <p> element child into plain <p> elements (r=mfinkle) 2012-08-25 11:27:27 +01:00
Lucas Rocha
3f3c1de0e8 Bug 784682 - Penalize nodes with "hidden" class or id in Readability.js (r=bnicholson) 2012-08-23 17:08:13 +01:00
Lucas Rocha
b85912d5d0 Bug 784680 - Remove utility nodes from Wordpress blog posts (r=bnicholson) 2012-08-23 17:08:13 +01:00
Lucas Rocha
b6416f6f20 Bug 784674 - Better byline fetching in Readability (r=bnicholson) 2012-08-23 17:08:13 +01:00
Lucas Rocha
fdd40acb4d Bug 782285 - Don't offer reader in pages with too much reading competition (r=mfinkle)
* * *
blo
2012-08-23 17:08:13 +01:00
Lucas Rocha
6091137343 Bug 784683 - Don't create temporary H1 element for title (r=mfinkle) 2012-08-22 18:17:45 +01:00
Lucas Rocha
e121e95d62 Bug 784050 - Put back code to remove style tags in Readability.js (r=bnicholson) 2012-08-20 20:49:28 +01:00
Lucas Rocha
8973b4d41e Bug 784055 - Remove all code dealing with offsetWidth in Readability.js (r=bnicholson) 2012-08-20 18:05:37 +01:00
Lucas Rocha
71fc3ac6fe Bug 784050 - No need to remove stylesheets and style tags in Readability.js (r=bnicholson) 2012-08-20 18:05:37 +01:00
Lucas Rocha
d83c884cbe Bug 782348 - Fetch byline info from articles to show on Reader (r=bnicholson) 2012-08-20 14:06:58 +01:00
Brian Nicholson
0f546849ab Bug 783601 - Remove extra textContent reference from getInnerText(). r=lucasr 2012-08-17 14:42:48 -04:00
Brian Nicholson
b92c5fd9c5 Bug 779796 - Part 6: Remove article generator function in Readability.js. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
c95c10e807 Bug 779796 - Part 4: Remove XPCOM-related code from Readability.js. r=lucasr,mfinkle 2012-08-09 23:30:46 -07:00
Brian Nicholson
da6f05594e Bug 779796 - Part 3: Update Readability.js to be compatible with JSDOMParser. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
87da169055 Bug 779796 - Part 2: Replace Reader checks with full parses. r=lucasr 2012-08-09 23:30:46 -07:00
Brian Nicholson
533507b12b Bug 780713 - Disable reader mode logging by default. r=lucasr 2012-08-09 10:53:44 -07:00
Brian Nicholson
baa549ed82 Bug 777966 - Replace regex <br> matching with replaceBrs(). r=lucasr
--HG--
extra : rebase_source : 0cbe7d9788e551ea1412cb014f92cd5b7b038093
2012-08-06 10:54:24 -07:00
Brian Nicholson
17d3a456bb Bug 779089 - Add proper Apache 2 header to Readability.js. r=gerv 2012-08-08 13:13:10 -07:00
Michael Comella
34cb8c196d Bug 778879 - Switch relative URL conversion code to use Services.jsm. r=mfinkle 2012-07-31 18:26:29 -04:00
Michael Comella
4d58b09e4e Bug 776110 - <a> and <img> uris are replaced with absolute uris. r=lucasr 2012-07-26 21:17:23 -04:00
Brian Nicholson
9a43c27e9a Bug 775346 - Part 3: Make Readability asynchronous. r=lucasr 2012-07-25 13:00:51 -07:00
Brian Nicholson
ba5cda83c4 Bug 775346 - Part 2: Convert grabArticle() to a generator function. r=lucasr 2012-07-25 13:00:51 -07:00
Brian Nicholson
891b1ce943 Bug 775346 - Part 1: Make grabArticle() non-recursive. r=lucasr 2012-07-25 13:00:51 -07:00
Brian Nicholson
84ade8baae Bug 773556 - Fix reader mode typos. r=mfinkle 2012-07-13 12:54:52 -07:00
Mark Finkle
02501a3e53 Bug 765930 - Reader Mode: Optimize readability check (do less DOM manipulation when checking) r=bnicholson 2012-07-13 11:36:41 -04:00
Lucas Rocha
d24ee1dd72 Bug 750683 - Check if page is convertible to enable reader mode (r=mfinkle) 2012-06-20 19:21:22 +01:00
Lucas Rocha
2e309072a5 Bug 750712 - Add about:reader special url for reader mode pages (r=mfinkle) 2012-06-11 15:59:50 +01:00