summaryrefslogtreecommitdiff
path: root/simplyread.js
diff options
context:
space:
mode:
Diffstat (limited to 'simplyread.js')
-rwxr-xr-xsimplyread.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplyread.js b/simplyread.js
index 5eb4614..dff7019 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -53,6 +53,8 @@ function simplyread()
fresh.innerHTML = fresh.innerHTML.replace(/<\/?font[^>]*>/g, "");
fresh.innerHTML = fresh.innerHTML.replace(/style="[^"]*"/g, "");
fresh.innerHTML = fresh.innerHTML.replace(/<\/?a[^>]*>/g, "");
+ fresh.innerHTML = fresh.innerHTML.replace(/<\/?span[^>]*>/g, "");
+ fresh.innerHTML = fresh.innerHTML.replace(/<style[^>]*>/g, "<style media=\"aural\">");
for (var i = 0; i < doc.styleSheets.length; i++)
doc.styleSheets[i].disabled = true;