查看: 335  |  回复: 0
js 跳转的代码
楼主
发表于 2023年5月23日 19:27
<script>
    window.location.replace('http://manongku.com');
</script>

<script>
    window.location = 'http://www.manongku.com';
</script>

<script>
   document.location.href = 'http://manongku.com';
</script>

<a href='javascript:history.go(-1)' rel='返回上一步'>返回上一步</a>

<a href='javascript:history.back()' rel='返回上一步'>返回上一步</a>

<script>
    top.location = 'http://manongku.com';
</script>

<script>
window.navigate('http://manongku.com');
</script>

<script>
self.location = 'http:/manongku.com';
</script>


您需要登录后才可以回帖 登录 | 立即注册
【本版规则】请勿发表违反国家法律的内容,否则会被冻结账号和删贴。
用户名: 立即注册
密码:
2020-2024 MaNongKu.com