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

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
How to Stop Someone From Framing My Site
AlwaysWorkin




msg:3906651
 9:17 pm on May 4, 2009 (gmt 0)

I have someone who is using a domain to entirely frame my site. When you go to their URL, it's our site, just a different title tag. Here is their short code (I did change the keywords to be generic, as well as the site):


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<title>Widgets </title>
<META name="keywords" content="widget, blue widget, green widget">
</head>
<frameset rows="100%,*" border="0">
<frame src="http://www.mysite.com/" frameborder="0" />
<frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 02 -->
<!-- 7.9-->
</html>

My question is kind of 2-fold:

1) What are their advantages to doing this and will it hurt me?
2) Is there anything I can do to stop them from framing? (technical wise, not legal)

Thanks

 

netchicken1




msg:3906660
 9:22 pm on May 4, 2009 (gmt 0)

Use this js

<script>
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>

[edited by: tedster at 10:01 pm (utc) on May 4, 2009]

AlwaysWorkin




msg:3906662
 9:24 pm on May 4, 2009 (gmt 0)

Thanks...I just found that exact same code posted before here...just didn't search right.

Thanks again!

coopster




msg:3906709
 10:12 pm on May 4, 2009 (gmt 0)

I am guessing by now then you have found that this is often termed "framebusting" or using a "framebuster" :)

Glad you got it sorted, AlwaysWorkin.

penders




msg:3908007
 3:41 pm on May 6, 2009 (gmt 0)

1) What are their advantages to doing this and will it hurt me?

Just speculating, so please jump in to confirm or discount...

(1) It could result in your site being indexed under the wrong domain/keyword(s). Or may be get indexed under both domains and then have issues with possible 'duplicate content'? Although I would have thought that search engines would be able to resolve such duplicate content OK in this case?

(2) They might be attempting to build up the ranking of their domain based on your content. At some later stage they might suddenly change their site for the 'real thing' and steal a lot of your traffic in the process?

(2a) Or they might be trying to build up the ranking of their domain in order to sell it for a higher price?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
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