I need your help in this thing..!! Kind of Urgent one.

Discussion in 'JavaScript' started by webmastersales, Jun 17, 2010.

  1. #1
    Hey guys,

    I am stuck up & really need quick help with something..

    Here is wat's happening :

    I have an html page & I an iframing 5 pages on this page.

    Now, all the pages that I am placing inside IFRAME have pop-up codes on them.
    That means, each time i load my PARENT PAGES, These child Iframes load & with them I get 5 popups.

    What I want is this :

    The parent page should load with the IFRAMES & the pop-ups that open should autoclose or get Destroyed within given time frame of milliseconds.

    Now, can anyone tell me what can be done in this.

    I need some kind of javascript to kill any child window forming from this parent window & 5 iframes inside.

    I CAN NOT MODIFY THE CHILD PAGES THAT I AM IFRAMING INSIDE.

    cAN ANY GURU here help me with this..
    Regards
     
    webmastersales, Jun 17, 2010 IP
  2. websteven

    websteven Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As far what I know this isn't possible due to crossscripting vulnerabilities. It would be possible if the iframe is at the same domain as the parent site.
     
    websteven, Jun 17, 2010 IP