1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    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 Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    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