if(xxxx)//和原来的一样。
window.location.href="xxxxx.htm?txt=您来自****"如何接受txt,请参考
http://lucky.myrice.com/javascriptexam/QueryString.htm
或者
document.write((document.location.href).split("=")[1])
window.location.href="xxxxx.htm?txt=您来自****"如何接受txt,请参考
http://lucky.myrice.com/javascriptexam/QueryString.htm
或者
document.write((document.location.href).split("=")[1])
<script>
if((document.referrer.substr(0,22)!="我想让用户打开的来源地址")||(document.referrer== ''))
{window.location.replace("将用户浏览器页面引到我想让其打开的来源地址页面的地址");}
end if
</script>但是,不起作用,仍然可以从外部打开。