Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
not working>-->No right click
Old 04-30-2003, 06:25 AM not working>-->No right click
Novice Talker

Posts: 5
Location: London
Trades: 0
Hey guys i been trying to rescue some photos from being save by users on their hard drive so i used to normal NoRightClick script but still surfers just download the whole site on msWord and then extract the pics , is there any effective way to overcome that?
Maxamed is offline
Reply With Quote
View Public Profile Visit Maxamed's homepage!
 
 
Register now for full access!
Old 04-30-2003, 10:01 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Trades: 0
Hi Maxamed,

The disable right-click function is absolutely useless to any website (it's easy to evade, as you have pointed out), and it generally leaves users with a negative impression of your website. On most websites that have this function on their pages, I can even right-click without any problem by using a trick that I learned a while ago. Other methods include disabling Javascript, extracting the source code, and using "Print Screen" to save an image of the entire site.

One of the members at W-T, Tiggy, has written an article about this topic at SitePoint, one of the largest webmaster communities on the net. It's a worthwhile read: Don't Disable Right Click!

I hope this helps.
__________________

Please login or register to view this content. Registration is FREE
- Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile
 
Old 04-30-2003, 11:17 AM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
if u still need the script then go here

u got couple

http://www.dynamicdrive.com/dynamicindex9/
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
praveen is offline
Reply With Quote
View Public Profile
 
Old 05-01-2003, 01:35 PM
rghatas's Avatar
Junior Talker

Posts: 2
Location: Florida
Trades: 0
Hey Maxamed,

I'm going to have to agree with conkermaniac. It is useless to disable the right click button because there are many ways to get around it. If you still want to disable it here is one way to do it. Just put the following script in the head of your page:

<script language="Javascript1.2">

// Set the message for the alert box
am = "This function is disabled!";

// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

</script>
rghatas is offline
Reply With Quote
View Public Profile Visit rghatas's homepage!
 
Old 05-07-2003, 11:12 AM
Novice Talker

Posts: 5
Location: Lymington, Hampshire, UK
Trades: 0
It should be fairly easy to protect your images - set your images as normal then cover them over with an empty image. Then when the user tries to right click and "save image as" all he/she will get is your blank image.
chrisn is offline
Reply With Quote
View Public Profile
 
Old 05-07-2003, 06:04 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
Chrisn I think as was pointed out before the right click would not and did not work since users would just download the site. You method would block people from just being able to right click and save the image but would not prevent the old File -> Save As...

-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to not working>-->No right click
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16661 seconds with 12 queries