Agreed with
cyanide.. who knows what the intentions of these Chinese sites are? Any suggestion offered here would be pure speculation. The following article discusses some of the legal aspects... bear in mind this is dated April, 2000.
Web Site Framing: Trademark and Copyright Issues
GMD Studios offer a similar
script to cyanide's suggestion, with slight improvements i.e. they specify the correct 'home' location.
Code:
<SCRIPT Language="JavaScript" type="text/javascript">
<!--
// FRAME THIS! (Annotated Version 1.7)
// script home location http://www.gmdstudios.com/ideas/frames/
// Authors: GMD Studios (Andrew Cowan & Brian Clark)
// Contact: inquiries@gmdstudios.com
//
// This script is copyright 1997-8 by GMD Studios. Permission to
// use, modify, and distribute this is granted as long as authors'
// copyright statements are left intact. All other use prohibited.
// VARIABLE ASSIGNMENT
// Set real_location to the URL of your website.
var real_location = "http://www.gmdstudios.com/ideas/frames/";
function framethis () {
// FIRST LOOP - Browsers that support top.location
if (top.location) {
if (self != top) top.location = self.location;
} else {
// SECOND LOOP - Browsers that don't support top.location
if (parent.location) {
if (parent.location != real_location) parent.location = real_location;
}
}
}
//-->
</SCRIPT>
Now, all you have to do is trigger the script ... the usual way would be to with an onLoad command in the <BODY> statement (triggering it to run once the page has loaded) such as:
<BODY onLoad="framethis()">