Forum Moderators: phranque
Someone has i-framed my site. However, the i-frame takes up the whole screen, and they haven't added any ads or additional code to the page.
So when you visit their domain, you are basically taken to my site. I see no harm in this, as of now. But I'm wondering why someone would do this. Is it temporary? Or, does the person plan to leave it like this?
If anyone has an idea as to why someone would do this, please let me know.
Thanks.
I suppose there's a good chance that it's totally innocent and that the guy just likes your site or thinks the content is relevant to his.
You may find that a direct link or redirection would benifit you more as this would allow visiters to see the actual url of your site, currently they cannot directly bookmark your site or link to it themselves without looking at the his source.
If you decide that you would prefer not to have your site inside someone elses frame you could try contacting him and asking him to replace it with a link, if you can't get hold of him jump-out-of-frame scripts a very short and simple.
Andrew
if (top.location!= self.location)
{
top.location = self.location
}
(I like yours, I'm just not wild about changing umpteen pages if I don't have to:)
People link to their URL, they get the Google PR. Then move on and frame another site, and so on, until they have the links they want.
I used to have my framebuster code set up to redirect to...
location.href + '?noframes'
...so that I could see the redirects in my logs. Not sure I would recommend this because years later I still get people vsiting these URLs, causing minor glitches in my stats.
How do you find out if your site is being IFramed?
I think I'll add Krapulator's javascript to my header file. Thanks! (you too Pfui)
I found a guy who was running 1X1 pixel size iframes of some high paying affiliate programs. He had a niche site and was running affiliate program links through the iframes. It placed about 10 cookies on the users computer and they got credit if they bought something through them for the next 45-90 days. We got him banned from CJ for doing this.
I don't know if this applies to your situation or maybe it does. I would always recommend using a script to disallow this.