exit popup blocking when iframing.

Discussion in 'General Scripting Chat' started by SeoNuuby, Nov 24, 2012.

  1. SeoNuuby

    SeoNuuby BANNED BANNED

    Joined:
    Oct 24, 2011
    Messages:
    44
    Likes Received:
    6
    Hello,

    How do I prevent exit popup from happening when I iframe a url and that url have exit popup.

    Any code ?

    Thanks
     
  2. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,928
    Likes Received:
    3,434
    Gender:
    Male
    Occupation:
    Dreaming
    Location:
    Pale Blue Dot
    Home Page:
    Does your Iframe have a flag to determine when that exit popup is shown?
    If yes, then you can access the frame document object like this
    Code:
    self.frames["iframeName"].document
    
    But this can get a hell lot tougher when your iframe url doesn't belong to the same domain!!
     
  3. SeoNuuby

    SeoNuuby BANNED BANNED

    Joined:
    Oct 24, 2011
    Messages:
    44
    Likes Received:
    6
    Nope, it doesn't have it.
     
  4. SeoNuuby

    SeoNuuby BANNED BANNED

    Joined:
    Oct 24, 2011
    Messages:
    44
    Likes Received:
    6
    i'm iframing cpa offer so it's different domain.
     
  5. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,928
    Likes Received:
    3,434
    Gender:
    Male
    Occupation:
    Dreaming
    Location:
    Pale Blue Dot
    Home Page:
    Oops then that's almost impossible! If you snick through something, the browsers will patch them soon ;-)
    read this :
    Code:
    http://stackoverflow.com/questions/6170925/get-dom-content-of-cross-domain-iframe
    
    EDIT: May be you could try a server side solution and read the contents to determine whether to show the exitsplash ;)
     
    Last edited: Nov 24, 2012