js跳转代码
1
2
3
4
5
6
7
8
9
10
|
<SCRIPT language=javascript>
<!-- Start Code
var
ver = navigator.appVersion;
if
(ver.indexOf(
"MSIE"
) != -1)
{
window.location.href=
"http://mlhd.org"
}
else
window.location.href=
"将这里改成要转入的网址2"
// End Code -->
</SCRIPT>
|
1
2
3
|
<script type=
"text/javascript"
>
document.location.href =
"http://www.itlearner.com"
;
</script>
|
隐藏URL框架代码
1
2
3
4
5
6
7
8
9
|
<
html
>
<
head
>
<
meta
http-equiv
=
"Content-Language"
content
=
"zh-CN"
>
<
title
></
title
>
</
head
>
<
frameset
framespacing
=
"0"
border
=
"0"
rows
=
"0"
frameborder
=
"0"
>
<
frame
name
=
"main"
src
=
"http://mlhd.org"
scrolling
=
"auto"
noresize>
</
frameset
>
</
html
>
|
用met参数跳转
1
|
<
meta
http-equiv
=
"refresh"
content
=
"0.1;url=http://mlhd.org/"
>
|
asp参数跳转 演示:http://ym.mlhd.org
1
2
3
|
<%
response.redirect
"http://www.mlhd.org"
%>
|
网站网页直接跳转代码:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="0.1;url=http://wb.mlhd.org">
<title>河北魅力网络</title>
</head>
<body>
</body>
</html>
也可以下载下面的原文件
附件:http://down.51cto.com/data/2366381
本文转自 yeybz 51CTO博客,原文链接:http://blog.51cto.com/hmlwl/1264707