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

Does anyone know how to blank the referer of a page which is inside an iframe?

Discussion in 'Black Hat SEO' started by randolph188, Aug 2, 2011.

  1. randolph188

    randolph188 Newbie

    Joined:
    Mar 12, 2008
    Messages:
    28
    Likes Received:
    0
    I have a website (website B) iframed on another website (website A) and I would like to know how I can blank the referrer for website B, so website A does not show as the referer.

    I have tried sing a DMR (doesnt work with safari) and also hide referrer website but they both still leak the referrer.

    Does anyone have a solution to this, preferably one that I can host on my own server?

    Thank you
     
  2. ``Yousef

    ``Yousef Power Member

    Joined:
    Oct 16, 2009
    Messages:
    534
    Likes Received:
    286
    Location:
    Cooking up the medicine.
    Home Page:
    Is website (B) your website, or another website that you're iFraming.

    (Reason why I'm asking, is because I want to know if the source-code of website (B) can be edited).

    I'll probably be able to knock up a solution for you :).
     
  3. fun4uoc

    fun4uoc Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 25, 2007
    Messages:
    1,199
    Likes Received:
    1,041
    Location:
    ☆ ♔ ☆ ♔ ☆ ♔ ☆
    Use referer.us to create a blank referrer link for you, then use that link instead of your website b link for your iframe.
     
  4. randolph188

    randolph188 Newbie

    Joined:
    Mar 12, 2008
    Messages:
    28
    Likes Received:
    0
    Yes, both websites belong to me
     
  5. ronywilliam

    ronywilliam Senior Member

    Joined:
    Jan 20, 2011
    Messages:
    1,150
    Likes Received:
    431
    ^^ what he said!
     
  6. randolph188

    randolph188 Newbie

    Joined:
    Mar 12, 2008
    Messages:
    28
    Likes Received:
    0
    That was the website (hide referer) I put in my first post, I have tried it and it works around 95% of the time but still leaks the referer when using an iframe with some browsers.
     
  7. randolph188

    randolph188 Newbie

    Joined:
    Mar 12, 2008
    Messages:
    28
    Likes Received:
    0
    Like I said I have tried it but does not work 100% of the time, also I would prefer something I can host on my own server if possible.