Method and device for event communication between documents
First Claim
1. A method for sending data from a first to a second document loaded by a user agent implemented on a client device having one or more computer processors, the method comprising:
- utilizing the one or more computer processors in the client device to;
transmit first and second download requests for the first and second documents, respectively, the first and second download requests identifying different domains as respective origins from which the first and second documents are to be loaded;
execute a script in said first document which has been loaded by the user agent in response to the first download request, said script providing data to be sent to said second document;
retrieve, from information collected by the user agent when the first document was loaded in response to the first download request, identification information uniquely identifying said first document and said origin of said first document; and
send a message including said data and said identification information to said second document which has been loaded by the user agent in response to the second download request,wherein said script in said first document invokes a method implemented in said user agent, said method being defined to receive the data to be exchanged, receive information identifying said second document, extract information identifying said origin of said first document, and pass said data to be exchanged and said extracted information identifying said origin of said first document to said second document, andwherein said first and second documents and the structure of said first and second documents are addressed according to application programming interfaces (APIs) defined in a Document Object Model (DOM) module that is part of said user agent, and said method further comprises;
instantiating, upon loading said first and said second document, two objects representing said first and second documents.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for sending data from a first to a second document when both documents are loaded by a user agent implemented on a client device. The method may comprise the execution of a script in the first document, said script providing the data to be sent to the second document. The user agent may be configured to retrieve information uniquely identifying the first document as well as an origin of the first document. This information may have been collected by the user agent when the document was first loaded, and may not be influenced by the script. The user agent may then send a message to the second document containing the data provided by the script in the first document and the identification of the first document.
-
Citations
20 Claims
-
1. A method for sending data from a first to a second document loaded by a user agent implemented on a client device having one or more computer processors, the method comprising:
-
utilizing the one or more computer processors in the client device to; transmit first and second download requests for the first and second documents, respectively, the first and second download requests identifying different domains as respective origins from which the first and second documents are to be loaded; execute a script in said first document which has been loaded by the user agent in response to the first download request, said script providing data to be sent to said second document; retrieve, from information collected by the user agent when the first document was loaded in response to the first download request, identification information uniquely identifying said first document and said origin of said first document; and send a message including said data and said identification information to said second document which has been loaded by the user agent in response to the second download request, wherein said script in said first document invokes a method implemented in said user agent, said method being defined to receive the data to be exchanged, receive information identifying said second document, extract information identifying said origin of said first document, and pass said data to be exchanged and said extracted information identifying said origin of said first document to said second document, and wherein said first and second documents and the structure of said first and second documents are addressed according to application programming interfaces (APIs) defined in a Document Object Model (DOM) module that is part of said user agent, and said method further comprises; instantiating, upon loading said first and said second document, two objects representing said first and second documents. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer device with a display configured to load and display documents, and comprising one or more computer processors which execute computer program code to perform:
-
transmitting first and second download requests for first and second documents respectively, the first and second download requests identifying different domains as respective origins from which the first and second documents are to be loaded; executing a script in said first document which has been loaded by a user agent implemented on the computer device in response to the first download request, said script providing data to be sent to said second document; retrieving, from information collected by the user agent when the first document was loaded in response to the first download request, identification information uniquely identifying said first document and an-said origin of said first document; and sending a message including said data and said identification information to said second document which has been loaded by the user agent in response to the second download request, wherein said script in said first document invokes a method implemented in said user agent, said method being defined to receive the data to be exchanged, receive information identifying said second document, extract said information identifying said origin of said first document, and pass said information to be exchanged and said information identifying said origin of said first document to said second document, and wherein said first and second documents and the structure of said first and second documents are addressed according to application programming interfaces (APIs), defined in a Document Object Model (DOM) module that is part of said user agent, and the computer device is further configured to perform; instantiating, upon loading said first and said second document, two objects representing said first and second documents. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification