not that i know of, you can search the internet for a way to do it via javascript i believe, then you just place the code in your header.tpl
but to be honest with you, its not worth it, you cant stop people pressing "print Screen" button.
but to be honest with you, its not worth it, you cant stop people pressing "print Screen" button.
I get this code but i dont know how to insert in header.tpl
anyone can help me to inset it?
This Code For Disable Select Text
This Code For Disable Right Click
anyone can help me to inset it?
This Code For Disable Select Text
Code: Select all
<SCRIPT TYPE="text/javascript">
<!--
//Disable select-text script (IE4+, NS6+)
//visit http://www.rainbow.arch.scriptmania.com/scripts/
///////////////////////////////////
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
// -->
</SCRIPT>
This Code For Disable Right Click
Code: Select all
<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>
Last edited by emilife93 on Wed Jun 08, 2011 11:04 am, edited 3 times in total.
You can still grap the images from the activity viewer in chrome and safari. ...
Might want to consider a watermark instead
Might want to consider a watermark instead

930sc ... because it is fun!
please past below code before </head> tag
--------------------------------------------------------------------------------------------------------------------
<meta http-equiv="imagetoolbar" content="no">
<script type="text/javascript">
document.body.ondragstart = "return false";
document.body.onselectstart = "return false";
</script>
<script type="text/javascript">
//<!--
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//-->
</script>
<script type="text/javascript">
$('img').mousedown(function(){return false});
</script>
<script type="text/javascript">
//<!--
document.oncontextmenu = new Function("return false");
//-->
</script>
<script type="text/javascript">
//<!--
$.fn.extend({
disableSelection : function() {
this.each(function() {
this.onselectstart = function() {
return false;
};
this.unselectable = "on";
$(this).css('-moz-user-select', 'none');
$(this).css('-webkit-user-select', 'none');
$(this).css('-webkit-touch-callout', 'none');
});
}
});
$(function() {
$(this).disableSelection();
});
//-->
</script>
<style type="text/css">
body {
-webkit-user-select: none;
user-select:none;
}
</style>
-----------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
<meta http-equiv="imagetoolbar" content="no">
<script type="text/javascript">
document.body.ondragstart = "return false";
document.body.onselectstart = "return false";
</script>
<script type="text/javascript">
//<!--
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//-->
</script>
<script type="text/javascript">
$('img').mousedown(function(){return false});
</script>
<script type="text/javascript">
//<!--
document.oncontextmenu = new Function("return false");
//-->
</script>
<script type="text/javascript">
//<!--
$.fn.extend({
disableSelection : function() {
this.each(function() {
this.onselectstart = function() {
return false;
};
this.unselectable = "on";
$(this).css('-moz-user-select', 'none');
$(this).css('-webkit-user-select', 'none');
$(this).css('-webkit-touch-callout', 'none');
});
}
});
$(function() {
$(this).disableSelection();
});
//-->
</script>
<style type="text/css">
body {
-webkit-user-select: none;
user-select:none;
}
</style>
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Who is online
Users browsing this forum: No registered users and 4 guests