龙论坛技术支持
Would you like to react to this message? Create an account in a few clicks or log in to continue.
关键词

最优秀的发帖人
tcw987654321 (2424)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
tiger_tiger (2015)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
梦随峰飘 (542)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
868 (284)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
mmao21 (251)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
x__________________X (222)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
y4341991 (101)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
花生省魔术 (98)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
Tiger&蘋果爸 (80)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 
pyy (74)
安全问题 Vote_lcap安全问题 Voting_bar安全问题 Vote_rcap 

社会化书签

社会化书签 reddit      



在您的社会化书签保存并分享地址龙论坛技术支持


安全问题

3 posters

向下

安全问题 Empty 安全问题

帖子 由 sunquanzhu 周三 一月 23, 2008 3:12 am

现在的论坛多如牛毛,你把我的拿去,我把你的拿来.自己的小坛子就没有什么竞争力了.
自己辛苦做的原创,被人家拿去了谁还来呀?发展不会太好.有什么办法让自己的东西
不会被人家拿走.文字图片来之不宜呀.谢谢了,可以解决吗?
sunquanzhu
sunquanzhu

帖子数 : 67
注册日期 : 07-12-23

http://huayan.longluntan.cn

返回页首 向下

安全问题 Empty 回复: 安全问题

帖子 由 tiger_tiger 周三 一月 23, 2008 9:00 am

防止复制,锁右键:
代码:
<script> function ejs_nodroit() { alert('请尊重版权!!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>
在全站禁止右键点击,“管理员控制面板” => “基本设置” => “设置”,在“网页描述”中输入以上代码,点击“提交”,完成!括号内的警告文字可以任意修改,在其他用户试图用右键复制时会弹出这段警告,并且右键失效。
-----------------------------------------------------------------------
最根本的办法:进入template(僅支持PHPBB2.0版本)。什么也不会弹出,但实际上就是不能复制,也不能反白或者使用[ctrl+]的方法……就是无论点鼠标左键或者右键网页都没有反应的方法..
1、用J***A禁止复制网页内容:
代码:

<Script Language=javascript>
function key(){
//if(event.shiftKey){
http://window.close();}
//禁止shift
if(event.altKey){
alert('禁止CTRL-C复制本贴内容');}
//禁止alt
if(event.ctrlKey){
alert('禁止CTRL-C复制本贴内容');}
//禁止ctrl
return false;}
document.onkeydown=key;
if (window.Event)
document.captureEvents(Event.MOUSEUP);
//swordmaple javascript article.
//function nocontextmenu(){
http://event.cancelBubble = true
http://event.returnValue = false;
//return false;}
function norightclick(e){
if (window.Event){
if (e.which == 2 || e.which == 3)
return false;}
else
if (event.button == 2 || event.button == 3){
event.cancelBubble = true
event.returnValue = false;
return false;}
}
function Click(){
alert('禁止右键粘贴本贴内容');
window.event.returnValue=false;
}
document.oncontextmenu=Click;
</Script>
2、在<body>中加入如下的代码,这样鼠标的左右键都失效了.
代码:
topmargin="0" oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()"
3、禁止网页另存为:在
代码:
<body>
后面加入以下代码:
代码:
<noscript>
<iframe src="*.htm"></iframe>
</noscript>
4、禁止网页内容复制.粘贴:在<body>中加入以下代码:
代码:
<body 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()">
5、最简单的:替换
代码:
<body>
代码:
<body onselectstart="return false">
即可,无任何提示!


由tiger_tiger于周一 九月 15, 2008 12:26 pm进行了最后一次编辑,总共编辑了1次
tiger_tiger
tiger_tiger
总舵主
总舵主

帖子数 : 2015
注册日期 : 07-10-23

http://help.longluntan.com

返回页首 向下

安全问题 Empty 回复: 安全问题

帖子 由 sunquanzhu 周六 二月 23, 2008 1:12 pm

老虎这些代码我想用怎么用呀.教教我.(是不是发帖子的时候也不能用右键,比如发图片的时候就不能把地址粘贴进去了.
sunquanzhu
sunquanzhu

帖子数 : 67
注册日期 : 07-12-23

http://huayan.longluntan.cn

返回页首 向下

安全问题 Empty 回复: 安全问题

帖子 由 sunquanzhu 周六 二月 23, 2008 2:04 pm

网页描述里已经放了其他的东西,不能在放了.想问问老虎template是什么,怎样使用.
sunquanzhu
sunquanzhu

帖子数 : 67
注册日期 : 07-12-23

http://huayan.longluntan.cn

返回页首 向下

安全问题 Empty 回复: 安全问题

帖子 由 tcw987654321 周六 二月 23, 2008 2:34 pm

sunquanzhu 写道:网页描述里已经放了其他的东西,不能在放了.想问问老虎template是什么,怎样使用.
template也就是模板...
tcw987654321
tcw987654321
版主
版主

男 帖子数 : 2424
年龄 : 30
城市 : 中華人民共和國香港特別行政區
职业/爱好 : 初中学生/读书,上网,MSN
注册日期 : 07-12-27

http://supporting.longluntan.info

返回页首 向下

安全问题 Empty 回复: 安全问题

帖子 由 sunquanzhu 周六 二月 23, 2008 2:36 pm

怎么做说说.
sunquanzhu
sunquanzhu

帖子数 : 67
注册日期 : 07-12-23

http://huayan.longluntan.cn

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题