1. A method for sending data from a first to a second document loaded by a user agent implemented on a client device, comprising: executing a script in said first document, said script providing the data to be sent to said second document; retrieving, from data collected by the user agent when the document was first loaded, information uniquely identifying said first document and an origin of said first document; and sending a message including said data and said identification to said second document.