homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Someone's I-Framed My Site

 9:21 am on Feb 13, 2006 (gmt 0)


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.




 4:13 pm on Feb 13, 2006 (gmt 0)


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.



 5:38 pm on Feb 13, 2006 (gmt 0)

Don't even bother contacting them. You'll never get to the bottom of why every jerk on the Web makes the decisions he does. Just use a break-out-of-frames script and forget about it.


 5:41 pm on Feb 13, 2006 (gmt 0)

I've found my site iframed on several occasions and it really hasn't caused any harm other than annoyance.


 12:32 am on Feb 14, 2006 (gmt 0)

This sounds more sinister than a simple frameset trap problem. You're saying that their site becomes YOUR site yes?


 1:18 am on Feb 14, 2006 (gmt 0)

I can think of a reason why someone would do this...

Your content... but their URL shows up.

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.


 2:46 am on Feb 14, 2006 (gmt 0)

The first line of javscript I add to every site I make:

if (parent.frames.length > 0)
parent.location.href = location.href;


 9:49 am on Feb 14, 2006 (gmt 0)

Krapulator, I've been using the following for ages and ages. Given that our mutual methods appear to accomplish the same thing, is it kind of a 'six one way, half-dozen the other' choice?

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:)


 10:12 am on Feb 14, 2006 (gmt 0)

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.

What links do they have that they want? I do not understand this. How do they benefit from linking their domain (URL) to another site by iframe? Please, can you give more details?


 4:10 pm on Feb 14, 2006 (gmt 0)

How do you find out if your site is being IFramed?
Are there any tell tale signs, other than stumbling upon your site with another name, randomly when browsing the web.


 5:41 pm on Feb 14, 2006 (gmt 0)

The frame does show up as a referrer, so that's a frequent way to come across such cases.

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.


 4:35 am on Feb 18, 2006 (gmt 0)

How do you find out if your site is being IFramed?

Well, while browsing through my logs one day I found a ton of hits coming to my site from this mysterious URL that is somewhat related to my site. So I visit the URL and I see my site, but with their URL in the browser window.

I think I'll add Krapulator's javascript to my header file. Thanks! (you too Pfui)


 5:51 pm on Feb 19, 2006 (gmt 0)

This happens quite frequently when a site has an affiliate program.

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.


 12:47 pm on Feb 20, 2006 (gmt 0)

_They_ get a benefit because people link to _their_ site, thinking it's the original.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved