Cross-domain DOM access

Discussion in 'JavaScript' started by r_honey, Jul 10, 2010.

  1. #1
    There's a large current in-production enterprise web portal, let's say http://production.com

    I am working on a new web application, let's say http://another.com. Both applications manage large amounts of sensitive data. I have now been assigned a rather challenging assignment, that I am not sure, is even feasible.

    On clicking a particular link on http://another.com, I need to open http://production.com in a pop-up window. The page opened would be a login page, after the login, there comes a data entry page, let's say http://production.com/data.aspx. After the data is entered, a third page, let's say http://production.com/confirmation.aspx is displayed.

    I need to access a particular section of DOM from the confirmation page (conformation.aspx) from the page that opened the pop-up, i.e. from http://another.com

    I am not allowed any access to http://production.com. Any possibility of making changes to http://production.com to enable data exchange via web proxies or whatever has been completely nullified already.

    However, I have been given a free-hand for http://another.com. Do whatever you want, deploy whatever you need here (ActiveX, Flash, Silverlight, a Desktop application even that opens http://production.com and relays the DOM back to another.com via a proxy).

    I am not sure, is this even possible at all. there are 2 major points:

    1) This is a cross-domain interaction (and the target domain is frozen, no changes allowed there)
    2) The content is not directly on the pop-up page opened. It is available after 2 page submissions, when a prticular url is navigated to in the pop-up. This means I need to keep an eye on window navigation in the pop-up (that too cross-domain).

    Is it at all possible to accomplish what I have said above with any technique/technology available there in the wild, keeping in mind I have access to only http://another.com
     
    r_honey, Jul 10, 2010 IP
  2. netload

    netload Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    It's impossible.
     
    netload, Jul 10, 2010 IP
  3. r_honey

    r_honey Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Someone has a different idea. I read somewhere of the possibility of using ActiveX for such a situation.
     
    r_honey, Jul 10, 2010 IP