有谁知道如何禁止别人复制网页上的内容啊? 有javascript可以屏蔽一些东西,但绝对的方法是绝对没有的,客户端的东西不可能完全禁止 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <body onselectstart="return false" oncopy="return false"> chinaitlab的可以另存为啊,只是不能直接^A加了个这个:<BODY oncontextmenu=self.event.returnValue=false; onmousemove="if(event.ctrlKey) document.all.aaaa.focus()" onselectstart="return false" leftMargin=0 topMargin=0><SCRIPT language=JavaScript1.2>if (document.all)document.body.onmousedown=new Function("if(event.button==2||event.button==3)window.external.addFavorite('http://www.chinaitlab.com','中国IT认证实验室')")</SCRIPT>...... <!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>无标题文档</title><script language="JavaScript" type="text/JavaScript"><!--function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);//--></script></head><body leftmargin=0 topmargin=0 onmousemove='HideMenu()' oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()"><table width="200" border="1"> <tr> <td>df</td> <td>dsf</td> <td>dsf</td> </tr> <tr> <td>dsf</td> <td>ds</td> <td>ds</td> </tr> <tr> <td>ds</td> <td>dsf</td> <td>sdf</td> </tr></table></body></html> 请问超链接图片的切换的实现 js把时间的秒数转换成时间戳 问一个正则表达式的问题 使用jquery如何引用父画面的js变量 关于callback的一个问题 如何在js函数里改变html页面上的控件的标题阿 图片上下循环滚动问题 jqGrid无法显示从服务器加载进来的数据 一个我不懂的问题?? js 的 收藏本站代码 的问题 如何使一个Form每2秒钟提交一次? TextBox,TextAREA如何通过客户端JavaScript获取/设置SelectStart,SelectLength等相关信息
加了个这个:
<BODY oncontextmenu=self.event.returnValue=false;
onmousemove="if(event.ctrlKey) document.all.aaaa.focus()"
onselectstart="return false" leftMargin=0 topMargin=0>
<SCRIPT language=JavaScript1.2>
if (document.all)
document.body.onmousedown=new Function("if(event.button==2||event.button==3)window.external.addFavorite('http://www.chinaitlab.com','中国IT认证实验室')")
</SCRIPT>
...
...
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script></head><body leftmargin=0 topmargin=0 onmousemove='HideMenu()' oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
<table width="200" border="1">
<tr>
<td>df</td>
<td>dsf</td>
<td>dsf</td>
</tr>
<tr>
<td>dsf</td>
<td>ds</td>
<td>ds</td>
</tr>
<tr>
<td>ds</td>
<td>dsf</td>
<td>sdf</td>
</tr>
</table></body>
</html>