Get All Links in a Document
This is only mostly painful! Code is available as part of a gist. Yeah, I can’t spell. getAllLinks Here’s a utility function that scans the document for all LinkUrls, returning them in an array. /** * Get an array of all LinkUrls in the document. The function is * recursive, and if no element is … Read more