Skip to content
Richard Frost edited this page Nov 18, 2017 · 7 revisions

Similar Projects

https://github.com/ericwbailey/millennials-to-snake-people

Forks

https://github.com/RobotCopy/Adieu-Profanity-Filters

Code Notes

Someone suggested using an XPath like this:

var evalResult = document.evaluate( './/*[not(ancestor-or-self::script or ancestor-or-self::style)]/text()[normalize-space(.) != ""]', node, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null );

Clone this wiki locally