Delivery and display of page previews using shadow DOM
First Claim
1. A computer-implemented method of generating a preview of a content page, the method comprising:
- as implemented by a computer system comprising one or more computing devices, the computer system configured with specific executable instructions,retrieving first code of a content page;
retrieving an image that depicts a representation of the content page;
modifying the first code to include second code that references the image and an identification of a user-initiated event, wherein the modified first code, when executed by a browser application, causes the browser application to display initially the image and to render and display the content page in place of the image after the user-initiated event identified in the modified first code occurs; and
transmitting the modified first code in response to a request to access the content page.
0 Assignments
0 Petitions
Accused Products
Abstract
A content server retrieves the code and other content of a page and generates a preview of the page. The page preview could be an image that depicts a snapshot of the page, such as a screenshot, or an image map that includes links selectable by a user. The content server further modifies the original code used to load the page such that the modified code instructs a browser application to render and display the page preview for a first period of time and to render and display the actual page in place of the page preview after the first period of time. The content server may use the shadow document object model (DOM) framework to provide the page preview.
18 Citations
29 Claims
-
1. A computer-implemented method of generating a preview of a content page, the method comprising:
-
as implemented by a computer system comprising one or more computing devices, the computer system configured with specific executable instructions, retrieving first code of a content page; retrieving an image that depicts a representation of the content page; modifying the first code to include second code that references the image and an identification of a user-initiated event, wherein the modified first code, when executed by a browser application, causes the browser application to display initially the image and to render and display the content page in place of the image after the user-initiated event identified in the modified first code occurs; and transmitting the modified first code in response to a request to access the content page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a computer data repository that stores generated content page previews; and a computing system comprising one or more computing devices, the computing system configured with computer-executable instructions that, when executed, cause the computing system to; retrieve first code of a content page; retrieve an image that depicts a representation of the content page; modify the first code to include second code that references the image and an indication of a user-initiated event, wherein the modified first code, when executed by a browser application, causes the browser application to display initially the image in place of the content page and to render and display the content page in place of the image after the user-initiated event identified in the modified first code occurs; and transmit the modified first code in response to a request to access the content page. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium having stored thereon a browser component configured to run on a computing device and to interact over a network with a content server, the browser component comprising executable program code that directs the computing device to perform a process that comprises:
-
requesting a content page; receiving code associated with the content page in response to requesting the content page, wherein the code comprises an identification of a user-initiated event and a reference to an image; displaying the image before the user-initiated event identified in the code occurs; and rendering and displaying the content page in place of the image in response to an indication that the user-initiated event identified in the code occurred. - View Dependent Claims (19, 20)
-
-
21. A computer-implemented method of generating a preview of a content page, the method comprising:
-
as implemented by a computer system comprising one or more computing devices, the computer system configured with specific executable instructions, retrieving first code of a content page; retrieving an image that depicts a representation of the content page; modifying the first code to include second code that references the image and an identification of an event, wherein the modified first code, when executed by a browser application, causes the browser application to; generate a document object model (DOM) tree that comprises a root node, a shadow host node that is a child of the root node, a subtree that is a first child of the shadow host node, and a shadow root node that is a second child of the shadow host node, wherein the subtree includes DOM elements of the content page, and wherein the shadow root node references the image; render the shadow root node and display initially the image before the event identified in the modified first code occurs; modify the DOM tree, after the event identified in the modified first code occurs, such that the shadow host node is deleted and the subtree becomes a child of the root node; and render the subtree after the DOM tree is modified and display the content page in place of the image; and transmitting the modified first code in response to a request to access the content page. - View Dependent Claims (22, 23, 24)
-
-
25. A system comprising:
-
a computer data repository that stores generated content page previews; and a computing system comprising one or more computing devices, the computing system configured with computer-executable instructions that, when executed, cause the computing system to; retrieve first code of a content page; retrieve an image that depicts a representation of the content page; modify the first code to include second code that references the image and an indication of an event, wherein the modified first code, when executed by a browser application, causes the browser application to; generate a document object model (DOM) tree that comprises a root node, a shadow host node that is a child of the root node, a subtree that is a first child of the shadow host node, and a shadow root node that is a second child of the shadow host node, wherein the subtree includes DOM elements of the content page, and wherein the shadow root node references the image; render the shadow root node and display initially the image in place of the content page before the event identified in the modified first code occurs; modify the DOM tree, after the event identified in the modified first code occurs, such that the shadow host node is deleted and the subtree becomes a child of the root node; and render the subtree and display the content page in place of the image after the DOM tree is modified; and transmit the modified first code in response to a request to access the content page. - View Dependent Claims (26, 27, 28)
-
-
29. A system comprising:
-
a computer data repository that stores generated content page previews; and a computing system comprising one or more computing devices, the computing system configured with computer-executable instructions that, when executed, cause the computing system to; retrieve first code of a content page; retrieve an image that depicts a representation of the content page; modify the first code to include second code that references the image and an indication of an event, wherein the modified first code, when executed by a browser application, causes the browser application to; generate a document object model (DOM) tree that comprises a root node, a shadow host node that is a child of the root node, a subtree that is a first child of the shadow host node, and a shadow root node that is a second child of the shadow host node, wherein the subtree includes DOM elements of the content page, and wherein the shadow root node references the image; render the shadow root node and display initially the image in place of the content page before the event identified in the modified first code occurs; modify the DOM tree, after the event identified in the modified first code occurs, such that the shadow host node comprises the subtree; and re-render the shadow host node and display the content page in place of the image after the DOM tree is modified; and transmit the modified first code in response to a request to access the content page.
-
Specification