摘要 |
An apparatus in a client computer (31) that interacts with a website sewer (35) to provide a service to a user. The apparatus receives from the website server, in any order, a plurality of Document Object Model, DOM, modules comprising Hypertext Markup Language, HTML, markup code and functional code. The apparatus separates each module into a module template (36) comprising elements of HTML markup code that include tags to be replaced with data and a module Driver' (37) comprising an identifier, ID, tag and functional code controlling the operation of the module Driver. Execution of tire Driver functional code attaches event listeners to the elements in the module template (36), and populates tire ID tag with an internal identifier for the module, thereby creating a unique ID attribute for the Driver, which enables the Driver to operate independent of other drivers executing simultaneously on the client computer. |