Document.baseURI as String
This is inherited from the Node object.
Returns a string representing the base URI of the node.For XML documents, the base URI may be affected by an xml:base attribute on any ancestor of the current node.
const uris = []; for (const hit of cts.search("frightening")) { uris.push(hit.baseURI); } uris;