摘要 |
In one embodiment, a method includes, in connection with a target structured document rendered by a first client application and in response to a user input directed to target content of the target structured document, accessing, by a second client application, a document object model (DOM) representation of the target structured document, determining a target DOM node associated with the target content, recursively scanning one or more properties of each of one or more DOM nodes logically arranged proximal to the target DOM node within the DOM hierarchical tree, generating a set of one or more anchor point definitions based on one or more selected properties of each of the target DOM node and one or more selected ones of the scanned DOM nodes, and storing the set of anchor point definitions in a data structure.
|