From 0434afe04c64502bc1181793f471c4f6d4409981 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 27 Apr 2011 17:08:48 +0200 Subject: Add content to style and script elements. --- org/madore/damlengine/included.js | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 org/madore/damlengine/included.js (limited to 'org/madore/damlengine/included.js') diff --git a/org/madore/damlengine/included.js b/org/madore/damlengine/included.js new file mode 100644 index 0000000..7aa2a2b --- /dev/null +++ b/org/madore/damlengine/included.js @@ -0,0 +1,56 @@ +var textNodeType; +function textContent(n) { + if ( n.nodeType == textNodeType ) { + return n.data; + } else { + var children = n.childNodes; + var t = ""; + for ( var i=0 ; i elements having class="despammed-address". + elts = document.getElementsByTagName("a"); + for ( var i=0 ; i