http://lw.upschool.cn/edu/404/2006/927/10du63732_1.shtmllocation.href = http://lw.upschool.cn/edu/404/2006/927/10du63732_1.shtml
location.host = http://lw.upschool.cn
location.href.replace(location.host,"");
用这个就可以取得
edu/404/2006/927/10du63732_1.shtml

解决方案 »

  1.   

    location.host+location.path+location.search==location.href
      

  2.   

    <script language="javascript">
    <!--
    if ((top.location.host != 'lw.upschool.cn'))
    {
            alert('对不起,您访问的是论文中国,地址应该是lw.upschool.cn,请牢记.');
    top.location = 'http://lw.upschool.cn/';
    }
    -->
    </script>能帮忙完整写一下吗?没学过js.连定义一个字符都不会.郁闷这个是判断有没有lw.upschool.cn,没有就弹出警告,并跳转,请帮忙改成上面您写的方式.谢谢了.太感谢了.
      

  3.   

    top.location.href = 'http://lw.upschool.cn/';