Welcome to WebmasterWorld Guest from 54.145.71.115

Forum Moderators: phranque

Message Too Old, No Replies

Someone's I-Framed My Site

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

Full Member

10+ Year Member

joined:Aug 8, 2005
posts:206
votes: 0


Hello.

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.

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

Preferred Member

10+ Year Member

joined:Feb 11, 2006
posts:481
votes: 0


Hi,

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

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

Senior Member

WebmasterWorld Senior Member jomaxx is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 6, 2002
posts:4768
votes: 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)

Preferred Member

10+ Year Member

joined:Sept 9, 2004
posts:643
votes: 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)

New User

10+ Year Member

joined:Aug 10, 2004
posts:11
votes: 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)

Preferred Member

10+ Year Member

joined:Mar 10, 2004
posts:393
votes: 13


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 4, 2002
posts:666
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 5, 2005
posts:2038
votes: 1


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)

Preferred Member

10+ Year Member

joined:Jan 19, 2006
posts:508
votes: 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)

Junior Member

10+ Year Member

joined:Oct 11, 2004
posts:51
votes: 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)

Senior Member

WebmasterWorld Senior Member jomaxx is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 6, 2002
posts:4768
votes: 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)

Full Member

10+ Year Member

joined:Aug 8, 2005
posts:206
votes: 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)

Junior Member

10+ Year Member

joined:Jan 30, 2006
posts:73
votes: 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)

Full Member

10+ Year Member

joined:Oct 26, 2004
posts:319
votes: 0


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