Patent ID: 9747387
Date: 2017-08-29
CPC Classifications: G06F,H04L

Claim:
1. A computer-implemented method comprising: receiving, from a server over a network, a document with content containing a plurality of elements; parsing the received content with at least one processor; identifying a subset of the plurality of elements that are marked for enhancement; determining, for each element in the identified subset, whether a respective enhancement is locally available for the element, wherein each element comprises a first attribute that identifies an initial content for the element and a second attribute that comprises a name of the respective enhancement for the element, the name being mapped in a locally stored registry to a function that produces the respective enhancement for the element; identifying, for each element in the identified subset for which the respective enhancement is locally available, the function that is mapped in the locally stored registry to the name comprised in the second attribute of the element; instantiating, for each element in the identified subset for which the respective enhancement is locally available, the respective enhancement for replacing at least a portion of the element using at least the identified function; determining that the respective enhancement for a first set of the elements in the identified subset are successfully instantiated; replacing, for each element in the first set, at least a portion of the element with its respective enhancement at a position in the document associated with the element; providing the document for display including the respective enhancement for each of the first set of the elements as well as each element in the identified subset for which the respective enhancement was not locally available; and replacing, while the document is being displayed, at least a portion of each element in the identified subset for which the respective enhancement was not locally available prior to providing the document for display with the respective enhancement when the respective enhancement becomes locally available.