|
|
| 查看指定网址的源文件 |
| 整理:Cnwshow.Com 来源:Internet 整理时间:2008-3-26 |
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查看指定网址的源文件</title>
</head>
<body>
<!--把如下代码加入<body>区域中-->
<SCRIPT>
function add()
{
var ress=document.forms[0].luxiaoqing.value
window.location="view-source:"+ress;
}
</SCRIPT>
<!--输入要查看源代码的URL地址:-->
<FORM><input type="text" name="luxiaoqing" size=28 value="http://"><INPUT type="button" value="查看源代码" onClick=add()>
</FORM>
</body>
</html>
|
|
|
|
|
|