主权项 |
1. A method for bi-directionally sharing document object models (DOMs) to enable a shared internet browsing experience, that method comprising:
sending a first request to a first website server for computer readable code corresponding to a first webpage; receiving the computer readable code from the first website server; generating a first DOM using the computer readable code, the first DOM including instructions for rendering the first webpage and a share script, the share script including instructions for rendering a toolbar in conjunction with the first webpage, the toolbar comprising user controls including a first control for initiating sharing of the first webpage and a second control for adding an annotation to the first webpage; rendering the first DOM in a first frame of a web browser, wherein the rendering includes obtaining resources from the first website server and a central server; filtering the first DOM to remove unnecessary data, the unnecessary data including the share script; sending the first DOM to the central server; receiving, from the central server, a second DOM corresponding to a second webpage being viewed on a remote computer, the second webpage hosted at a second website server, the second website server different than the central server; and rendering the second DOM in a second frame of the web browser, wherein the rendering includes obtaining resources from the second website server. |