Try
 
if(top.location != self.location)
    top.location = self.location.;

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Derrick Peavy
Sent: Friday, December 01, 2006 11:27 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Frame bustin'


Anyone have a good, working method of frame busting? I ask because the JS i 
have been using does not work when someone uses a web proxy (annon.) to browse 
a site.  

Examples that do not work (among many):


<SCRIPT LANGUAGE=JavaScript>
  if (top.frames.length!=0)
   top.location=self.document.location;
</SCRIPT>

<script>
if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}
</script>


When someone uses a service such as   http://www.anonymousproxyworld..com 
<http://www.anonymousproxyworld.com> /  they can strip the javascript but even 
when they don't, it does not work. They frame the page and append the meta data 
with their URL.

_____________ 
Derrick Peavy
Sales and Web Services 
Universal Advertising
Phone: 404-786-5036
Fax: 404-370-0470 
http://www.universaladvertising.com 
http://www.collegeadvertising.com 
http://www.collegeclassifieds.com 
___________________________________





-------------------------------------------------------------

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------


Reply via email to