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

Posts: 5
Location: London
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!
 
When You Register, These Ads Go Away!
Old 04-30-2003, 10:01 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
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.
__________________
Aimoo - Affordable feature-packed remotely hosted message boards!
conkermaniac is offline
Reply With Quote
View Public Profile Visit conkermaniac's homepage!
 
Old 04-30-2003, 11:17 AM
praveen's Avatar
Life is a Dream

Latest Blog Post:
Happy Holidays
Posts: 3,577
Location: in a distant land far away from reality
if u still need the script then go here

u got couple

http://www.dynamicdrive.com/dynamicindex9/
__________________
Praveen
Web Tools - Smilies - Celebs - Short URLs - Indian Food - Create a Poll - Social Bookmark Widget

Useful Threads, Tutorials and Resources
Graphics - Templates - Dreamweaver - Javascript - SEO - Ruby on Rails - Ajax Tutorials - More Ajax - CSS - More CSS
praveen is offline
Reply With Quote
View Public Profile Visit praveen's homepage!
 
Old 05-01-2003, 01:35 PM
rghatas's Avatar
Junior Talker

Posts: 2
Location: Florida
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
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
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 TP
dk01 is offline
Reply With Quote
View Public Profile Visit dk01's homepage!
 
Reply     « Reply to not working>-->No right click
 

Thread Tools

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

vB 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.14312 seconds with 12 queries