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

Iframe now goes FULL SCREEN - HELP

Discussion in 'CPA' started by dadecotti, Apr 2, 2011.

  1. dadecotti

    dadecotti Power Member

    Joined:
    Dec 13, 2008
    Messages:
    797
    Likes Received:
    29
    I iframed an offer, it was working good until now, I just iframed a portion of the page I was interested, and now instead to load just the frame it is going FULL SCREEN!

    Anyone know how to avoid this and block the url to go full screen?
    I think the CPA company changed something lately.
     
  2. imth3one

    imth3one Newbie

    Joined:
    Nov 5, 2008
    Messages:
    47
    Likes Received:
    10
    If you see the code
    Code:
    top.location = self.location.href
    They've started employing iFrame breaker to prevent iframing or clickjacking. There's no way around it since most browsers wouldn't let you modify external contents in any way for security purposes.

    See if you have any luck with XSS injection though (throw in custom javascript through url query parameter)
     
  3. dadecotti

    dadecotti Power Member

    Joined:
    Dec 13, 2008
    Messages:
    797
    Likes Received:
    29
    Excuse me, where I should find this code?
     
  4. amberlamps

    amberlamps BANNED BANNED

    Joined:
    Jun 24, 2010
    Messages:
    331
    Likes Received:
    142
    in the source code man, they put that to prevent a offer from being iframe which basically means you cannot iframe that offer anymore find another one
     
  5. roamer

    roamer Power Member

    Joined:
    Dec 2, 2008
    Messages:
    500
    Likes Received:
    479
    Occupation:
    Gfx designer, vfx and mgfx
    Location:
    plɹoʍ ǝɥʇ punoɹɐ ƃuıɯɐoɹ
    IMO, as you've already been adviced, you're better off finding another offer that allows you to iframe it than trying to find a workaround.