<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<title>兼容多浏览js获取来路代码</title>
</head>
<script>
var llurl=document.referrer;
alert("得到llurl来路:"+llurl);
document.write('<script src="lailu.php教程?ll='+llurl+'"></scr'+'ipt>');
</script>
<body>
不跳转。显示原内容
</body>
</html>
时间: 2024-09-26 18:21:07