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

Need code to iframe framebreaking site

Discussion in 'Hire a Freelancer' started by surfer90, May 10, 2012.

  1. surfer90

    surfer90 Newbie

    Joined:
    Jun 14, 2011
    Messages:
    3
    Likes Received:
    0
    Hey Guys,
    I have a 3rd party website (no access to it) that has a framebreaker on it in the form of "if (top != self) { top.location.replace(self.location.href); }" in the header.
    I need to put that site into an iframe but it will still have to count as a pageview to the site.
    the rest of the site is called via javascript, so simply disabling js is no solution.
    Also the framed site must not be able to see that it has been put in an iframe.
    There is a GA code in the header.
    To the framed site it should look like this:
    -user is on Site a (the site with the iframe)
    -user clicks on a link to Site B (framed site) and gets redirected there, no iframe, no nothing.


    If this is (only) possible to be achieved via some other coding way, I'm happy with that aswell.
    I only want to get this done, how exactly, doesnt matter, it simply has to work.


    I'll give you the link to the site if you want to have that link.

    Regards
     
  2. Indiigo007

    Indiigo007 Junior Member

    Joined:
    Nov 11, 2009
    Messages:
    189
    Likes Received:
    191
    Location:
    Los Angeles
    There is no way around this. NONE. Because it is rendered in the user's browser (client-side).
     
  3. openaidbh

    openaidbh BANNED BANNED

    Joined:
    Mar 3, 2012
    Messages:
    328
    Likes Received:
    320
    A link to your site would be most helpful
     
  4. surfer90

    surfer90 Newbie

    Joined:
    Jun 14, 2011
    Messages:
    3
    Likes Received:
    0
    I cant pm yet, maybe you could pm me your email openaid?
     
  5. surfer90

    surfer90 Newbie

    Joined:
    Jun 14, 2011
    Messages:
    3
    Likes Received:
    0
    -nvm-
     
    Last edited: May 10, 2012