Originally posted by manavworld
View Post
Right click disable java script
Collapse
X
-
Me checked bt its not working what is full code manavworld brother<script language="javascript" type="text/javascript">function IE(e) {
if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
alert('use your right fingure on ur as hole.'); return false; }} function NS(e) {
if (document.layers || (document.getElementById && !document.all)) {if (e.which == "2" || e.which == "3") {
alert('use your right fingure on ur as hole.'); return false; }}}
document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("return false");</script>
check in mozila firefox ctrl+u
Leave a comment:
-
<script language="javascript" type="text/javascript">function IE(e) {
if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
alert('use your right fingure on ur as hole.'); return false; }} function NS(e) {
if (document.layers || (document.getElementById && !document.all)) {if (e.which == "2" || e.which == "3") {
alert('use your right fingure on ur as hole.'); return false; }}}
document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("return false");</script>
Try with this code
Leave a comment:
-
Opera Mini users can download image also by pressing (#,6) . . ' . . . , .
Leave a comment:
-
If they using pc browsers Ctrl + u then copy image.
Or Drag and Drop lmao easy
Leave a comment:
-
and then visitor disables java in browser.... LMFAOOriginally posted by prasun View PostUse the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.
This script works on all browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes between <head> </head> tag
PHP Code:<script type="text/javascript">
<!--
var message="Put a custom message here.....";
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(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>
besides... images can be stollen from any site... so why waste time ?
Leave a comment:
-
Right click disable java script
Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.
This script works on all browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes between <head> </head> tag
PHP Code:<script type="text/javascript">
<!--
var message="Put a custom message here.....";
function clickIE() {if (document.all) {alert(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(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 metulj; 03.09.11, 21:29.Tags: None
Leave a comment: