Systems and methods for script injection
First Claim
1. A method of measuring parameters associated with loading a web page, the method comprising:
- intercepting, by a network appliance, a first request from a first computing device for a web page in a first network domain;
transmitting, by the network appliance, a second request for the web page to a web server;
receiving, by the network appliance, a first response to the second request transmitted from the web server, the first response including at least a portion of the requested web page and not including a first script;
determining, by the network appliance responsive to receiving the first response from the web server, whether an injection is required based on an inspection of the contents of the first response;
creating, by the network appliance, responsive to determining that the injection is required, a modified response comprising the first script comprising instructions that, when executed by the computing device, transmits information, responsive to a notification of an occurrence of a web page event, to a performance monitoring server in a second network domain different than the first network domain; and
transmitting, from the network appliance, the modified response to the first computing device in response to the intercepted first request;
transmitting, by the computing device, information of the web page event and a third request to download web content data to the performance monitoring server in the second network domain different than the first network domain, wherein the performance monitoring server is different than the network appliance that injected the script;
waiting, by the computing device, a period of time to receive the web content data, the performance monitoring server caching the web content data and closing the connection to the computing device after receiving the third request; and
aborting, by the computing device, the web content data download when the web content data is not received within the period of time.
8 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for script injection are shown and described. The method can include intercepting, by a network appliance, a request for a web page from a computing device, transmitting, by the network appliance, the request for a web page to a web server, and intercepting, by the network appliance, a response from the web server, the response including at least a portion of the requested web page. The method can also include injecting, by the network appliance, a script having instructions that when executed by the computing device registers to be notified of the occurrence of a web page event thereby creating a modified response and transmitting the modified response to the computing device that requested the web page.
-
Citations
19 Claims
-
1. A method of measuring parameters associated with loading a web page, the method comprising:
-
intercepting, by a network appliance, a first request from a first computing device for a web page in a first network domain; transmitting, by the network appliance, a second request for the web page to a web server; receiving, by the network appliance, a first response to the second request transmitted from the web server, the first response including at least a portion of the requested web page and not including a first script; determining, by the network appliance responsive to receiving the first response from the web server, whether an injection is required based on an inspection of the contents of the first response; creating, by the network appliance, responsive to determining that the injection is required, a modified response comprising the first script comprising instructions that, when executed by the computing device, transmits information, responsive to a notification of an occurrence of a web page event, to a performance monitoring server in a second network domain different than the first network domain; and transmitting, from the network appliance, the modified response to the first computing device in response to the intercepted first request; transmitting, by the computing device, information of the web page event and a third request to download web content data to the performance monitoring server in the second network domain different than the first network domain, wherein the performance monitoring server is different than the network appliance that injected the script; waiting, by the computing device, a period of time to receive the web content data, the performance monitoring server caching the web content data and closing the connection to the computing device after receiving the third request; and aborting, by the computing device, the web content data download when the web content data is not received within the period of time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for measuring parameters associated with loading a web page, the system comprising:
-
a data storage medium storing a first script comprising instructions that, when executed by a computing device, transmits information to a performance monitoring server in a first domain responsive to a notification of an occurrence of a web page event; and a network appliance configured to; intercept a first request from the a first computing device for a web page in a second network domain, different than the first network domain; transmit a second request for the web page to a web server; receive a first response to the second request transmitted from the web server, the first response including at least a portion of the requested web page and not including the first script; determine, responsive to receiving the first response from the web server, whether an injection is required based on an inspection of the contents of the first response; create, responsive to determining that the injection is required, a modified response comprising the first script; transmit the modified response to the first computing device in response to the intercepted first request; the computing device configured to transmit information of the web page event and a third request that web content data be downloaded to the performance monitoring server in the second network domain different than the first network domain, wherein the performance monitoring server is different than the network appliance that injected the script; the computing device configured to wait a period of time to receive the web content data, the performance monitoring server configured to cache the web content data and close the connection to the computing device after receiving the third request; and the computing device configured to abort the web content data download when the web content data is not received within the period of time. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification