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
how do i keep people from right clicking?
Old 11-17-2002, 06:08 AM how do i keep people from right clicking?
janna_lecompte's Avatar
Novice Talker

Posts: 8
Location: Florida
Trades: 0
i know there is a code (i believe it's a javascript code) that can keep people from right clicking on my webpages. i've looked all over and i just can't remember the code.

any help would be greatly appreciated! thanks in advance!

Janna
I'm Sorry To Inform You...
__________________
oceans apart, day after day, and i slowly go insane
i hear your voice on the line, but it doesn't stop the pain
if i see you next to never, how can we say forever?
janna_lecompte is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-17-2002, 06:14 AM
HeidiLynn's Avatar
King Spam Talker

Posts: 1,122
Trades: 0
One question though. Why do you want to do this?
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
HeidiLynn is offline
Reply With Quote
View Public Profile
 
Old 11-17-2002, 06:25 AM
Mo Money's Avatar
Extreme Talker

Posts: 229
Location: Cali
Trades: 0
theres no point because there are ways around this, and theres really no reason to do this, what maby 1 person each year if that will even try to take a graphc from your site?
__________________

Please login or register to view this content. Registration is FREE
- Free Internet Games!
Mo Money is offline
Reply With Quote
View Public Profile
 
Old 11-17-2002, 06:45 AM
DaveTodd's Avatar
Evil Psycho Alien

Posts: 684
Location: Sheffield, England
Trades: 0
The script is as follows....

<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!docum ent.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.oncontext menu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>

This is a *silent* version of the script. Please keep in the copyrite notice.

The no right click script is useful for stopping less-able net users from stealing things, but...with the advent of XP, you can simply roll a mouse over the image, and save it from there.

The scripts are becomming less and less useful, because people can roll over and save, or get to whatever they want through view --> source, if they're prepared to search around for a while for the right graphics link.

hope this helps a little...
__________________
take care,
Dave ;)

Please login or register to view this content. Registration is FREE
DaveTodd is offline
Reply With Quote
View Public Profile
 
Old 11-17-2002, 09:48 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
there was another thread on this. let me find it, ill get back to ya.
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 11-17-2002, 09:54 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
I believe its here http://webmaster-talk.com/showthread...&threadid=1041

hope that helps.
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Old 11-18-2002, 07:12 AM
conkermaniac's Avatar
The Nutty Moderator

Posts: 1,012
Location: China
Trades: 0
Quote:
Originally posted by Mo Money
theres no point because there are ways around this, and theres really no reason to do this, what maby 1 person each year if that will even try to take a graphc from your site?
There are so many scripts out there nowadays that allow people to extract the code from a site, while one can simply disable JavaScript to work around the typical scro[t. DHTML leads to slower loading pages, and will eventually drive visitors away from your site. I believe that since this is client-side thing, there's a way to work around it as well.
__________________

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 11-18-2002, 09:46 AM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
ahh it was in the W.T Tips and Tricks forum....here is the link http://webmaster-talk.com/showthread...=5431#post5431 hope that helps
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how do i keep people from right clicking?
 

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