<script>
try {
if( self.location == "http://域名一/index.html" )
{
top.location.href = "http://域名一/目录";
}
else if( self.location == "http://域名二/index.html" )
{
top.location.href = "http://域名二/目录";
}
else
{
document.write("错误的网址")
}
catch(e){}
</script>
JavaScript多域名转向
最新推荐文章于 2024-08-30 20:29:15 发布