The text in a text node is in its data property.
(data is actually CharacterData.data. You can also use nodeValue, which is Node.nodeValue).
Element.textContent is the amalgamated text of all the text nodes under an element, at all levels.
Node.TEXT_NODE will show up as 3 in Firefox from javascript: , but appears to be undefined in Greasemonkey context.
Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )