S跳转页面参考代码
第一种:
window.location.href="login.jsp?backurl="+window.location.href;
第二种:
alert("返回");
window.history.back(-1);
第三种:
window.navigate("top.jsp");
第四种:
self.location='top.htm';
第五种:
alert("非法访问!");
top.location='xx.jsp';
=====下面是javascript交流群=====
577185192
可以设置网页自动跳转
你打开的网站加了跳转到别的网站的代码了
链接跳转,百度上有教程,看下就明白了
要么DNS被劫持,要么网址做了跳转