|
|
| 查看网址代码 |
| 整理:Cnwshow.Com 来源:Internet 整理时间:2008-3-26 |
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查看网址代码</title>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
function viewSource() {
document.getSource.view.value="请稍等...";
setTimeout("document.getSource.view.value='查看源代码'",6000);
window.location.href= "view-source:" + document.getSource.url.value;
return false;
}
</script>
<center>
打入完整的网址,按"查看源代码"就可看到它的源代码啦:)
<br>
<br>
<form name=getSource onSubmit="return viewSource();">
<input type=text name=url value="http://">
<br>
<br>
<input type=submit name=view value="查看源代码">
</form>
</body>
</html>
|
|
|
|
|
|