Cross-domain communications between browser windows
First Claim
Patent Images
1. A system, comprising:
- a first server that operates in a first domain and hosts a web page, the web page including functionality for performing a checkout transaction with a first entity, the web page including a display element that is selectable by a user, when the page is loaded in a target window of a browser, to initiate a payment transaction in support of the checkout transaction using an account with a second entity, the target window corresponding to the first domain;
wherein the web page includes (1) script coding that is responsive to user selection of the display element in the target window by opening a child window that provides functionality for the user to interact with a second server to execute a payment transaction using the account with the second entity, the second server operating in a second domain different from the first domain and hosting content for accessing the account with the second entity and performing payment transactions, the child window corresponding to the second domain, and (2) script coding that creates a bridge iframe configured to pass a message from the child window to the target window, the bridge iframe thereby supporting cross-domain communications between windows;
wherein the child window is configured to place a call to a message passing function of the bridge iframe, the call including the message, and the message passing function is responsive to the call by passing the message to the target window.
0 Assignments
0 Petitions
Accused Products
Abstract
A computer process enables a target window associated with a first domain to receive a message from a child window associated with a second domain. The message is passed using an iframe that is created within the target window. The process may, for example, be used to relay information entered by a user into the child window to the target window.
-
Citations
22 Claims
-
1. A system, comprising:
-
a first server that operates in a first domain and hosts a web page, the web page including functionality for performing a checkout transaction with a first entity, the web page including a display element that is selectable by a user, when the page is loaded in a target window of a browser, to initiate a payment transaction in support of the checkout transaction using an account with a second entity, the target window corresponding to the first domain; wherein the web page includes (1) script coding that is responsive to user selection of the display element in the target window by opening a child window that provides functionality for the user to interact with a second server to execute a payment transaction using the account with the second entity, the second server operating in a second domain different from the first domain and hosting content for accessing the account with the second entity and performing payment transactions, the child window corresponding to the second domain, and (2) script coding that creates a bridge iframe configured to pass a message from the child window to the target window, the bridge iframe thereby supporting cross-domain communications between windows; wherein the child window is configured to place a call to a message passing function of the bridge iframe, the call including the message, and the message passing function is responsive to the call by passing the message to the target window. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 21, 22)
-
-
9. A first server that operates in a first domain and hosts an electronic page that includes functionality for a user to perform a checkout transaction with a first entity using an account of the user with a second entity, the page comprising:
-
a display element that is capable of being activated by the user when the page is loaded in a target window of a browser, the target window corresponding to the first domain; script coding that is responsive to user activation of the display element in the target window by opening a child window that provides functionality for the user to interact with a second server in a second domain to execute a payment transaction using the account with the second entity, the second window corresponding to the second domain, and script coding that creates an iframe configured to pass a message from the child window to the target window, the iframe thereby supporting cross-domain communications between windows; wherein the child window is configured to place a call to a message passing function of the iframe, the call including the message, and the message passing function is responsive to the call by passing the message to the target window. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer-readable medium having stored therein executable code that instructs a user computing device to implement a process comprising:
-
displaying a document in a first browser window associated with a first domain, the document associated with a first entity and including functionality for performing a transaction with the first entity, the document including a display element that is selectable by a user to initiate a payment process using an account with a second entity; generating a second browser window in response to user selection of the display element of the document, the second browser window being associated with a second domain and second entity, the second browser window providing functionality for the user to use the account with the second entity to make a payment in support of the transaction; loading the second window with content retrieved from a server in the second domain, said content providing functionality for the user to log into the account; and generating an iframe that is configured to relay a message from the second browser window to the first browser window, the iframe thereby supporting cross-domain communications between browser windows; wherein the second browser window is configured to place a call to a message passing function of the iframe, and the message passing function is responsive to the call by passing the message to the first browser window. - View Dependent Claims (17, 18, 19, 20)
-
Specification