From 69cad105fa23055a794b32e611ef7cf543013bb7 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 14 Aug 2011 21:00:00 +0100 Subject: Count

as

, and unset any background image --- TODO | 4 ---- simplyread.js | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 258e6f0..5406ca9 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,3 @@ -core: - consider counting
\s
as a

as least some blogspot pages need it - http://davidz25.blogspot.com/2011/06/writing-c-library-part-1.html - chromium: generate appid for use in update xml see GenerateId in extension.cc of chrome for how it works diff --git a/simplyread.js b/simplyread.js index dff7019..60a96c2 100755 --- a/simplyread.js +++ b/simplyread.js @@ -31,6 +31,7 @@ function simplyread() } doc.simplyread_original = doc.body.innerHTML; + doc.body.innerHTML = doc.body.innerHTML.replace(/]*>\s*]*>/g, "

"); var biggest_num = 0; var biggest_tag; @@ -61,7 +62,7 @@ function simplyread() doc.body.innerHTML = "" + "