如何隐藏网页源代码?
2009-01-07 09:46
211 查看
<html>
<head>
<script language="javascript">
function clear(){
Source=document.body.firstChild.data;
document.open();
document.close();
document.title="看不到源代码";
document.body.innerHTML=Source;
}
</script>
</head>
<body onload=clear()>
<!--
你可以试试查看源代码,能看到我这些字吗?更多特效请访问<a href="http://js.alixixi.com/http://js.alixixi.com/">http://js.alixixi.com/</a>,当然了,行家真正要查看源代码,还是有办法的,比如在地址栏中输入,<br>
javascript:alert(document.documentElement.outerHTML);
-->
</body>
</html>
<head>
<script language="javascript">
function clear(){
Source=document.body.firstChild.data;
document.open();
document.close();
document.title="看不到源代码";
document.body.innerHTML=Source;
}
</script>
</head>
<body onload=clear()>
<!--
你可以试试查看源代码,能看到我这些字吗?更多特效请访问<a href="http://js.alixixi.com/http://js.alixixi.com/">http://js.alixixi.com/</a>,当然了,行家真正要查看源代码,还是有办法的,比如在地址栏中输入,<br>
javascript:alert(document.documentElement.outerHTML);
-->
</body>
</html>
相关文章推荐
- 如何隐藏和解网页源代码
- 如何在网页中保持C,Java..等源代码语法着色
- 问题:如何隐藏webBrowser的网页菜单?
- Android WebView如何隐藏地址栏,用WebView 来显示网页内容
- 如何用地址栏查看网页的源代码
- 隐藏网页源代码
- 彻底隐藏你HTML网页的源代码
- 如何用java语言获取某个网页的源代码
- 在一个网站的asp文件下,重定向另一个网站的jsp网页,如何实现在本网站中隐藏调用网站的域名?
- 网页技巧之如何隐藏状态栏里出现的LINK信息
- 日常:如何修改网页源代码
- WebView 关于如何隐藏地址栏,用WebView 来显示网页内容
- 如何隐藏网页中的层DIV
- 如何用Java获取网页源代码
- 黄聪:二、如何通过URL获取其他网页源代码内容(火狐插件扩展开发教程)
- 如何在右键菜单不能使用的情况下查看网页源代码。。。。
- 如何查看被禁止的网页源代码
- 如何禁止查看网页源代码(转)
- 如何防止别人看到网页源代码
- JavaScript--如何隐藏网页滚动条?