Old 08-12-2006   #1 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
Javascript Help...Disabling Right Click On Web Pages

OK. I want to know what the code for Javascript is for disabling right click on web pages can anyone help me?
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-12-2006   #2 (permalink)
The deadline was when?
 
MoodsR4Cattle's Avatar
 
Join Date: Oct 2005
Location: A Yankee in Nashville, TN
Posts: 412
Blog Entries: 28

Here's one place with a code for that:

http://www.dynamicdrive.com/dynamicindex9/noright.htm

However, it doesn't take too much to get around any script that disables the right click.
__________________
MoodsR4Cattle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-12-2006   #3 (permalink)
Janitor of Lunacy
 
tamlin's Avatar
 
Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 4,971

I'd agree with Moods - that script works well to foil the casual surfer, but all you need to do to get around it is to temporarily disable JavaScript in your browser.

Why do you want to disable the right mouse-click? Maybe there's a more elegant way to achieve your aim.
__________________


Religion: It's all fun and games until someone gets burned at the stake...
tamlin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-12-2006   #4 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
I know javascript is very easy to bypass..........but im not disabling right click cause I want to secure my information im doing it cause it makes the site much cleaner..well in my opinion.
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-12-2006   #5 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
Hmm...you are right. Does anyone know of another way i could disable right click?
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-13-2006   #6 (permalink)
Janitor of Lunacy
 
tamlin's Avatar
 
Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 4,971

Quote:
Originally Posted by Neil_8_24_93 View Post
im doing it cause it makes the site much cleaner..well in my opinion.
I'm not sure what you mean by "cleaner". I use Firefox as my main browser and I have a number of extensions that use the right-click - running a Google search on a selected word or phrase, or looking it up in an online dictionary, etc. - so any site that disables right-clicking just serves to annoy me and I'll most likely go somewhere else immediately.
__________________


Religion: It's all fun and games until someone gets burned at the stake...
tamlin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-13-2006   #7 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
Quote:
Originally Posted by tamlin View Post
I'm not sure what you mean by "cleaner". I use Firefox as my main browser and I have a number of extensions that use the right-click - running a Google search on a selected word or phrase, or looking it up in an online dictionary, etc. - so any site that disables right-clicking just serves to annoy me and I'll most likely go somewhere else immediately.
Aghhh...I see what you mean.
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password Protected Pages ecntrc HTML / PHP / ASP / JS 1 12-09-2005 05:36 PM
44 Hidden Photoshop Shortcuts Bub Adobe Photoshop 5 10-17-2005 10:41 PM
PS CS right click prob Jag Adobe Photoshop 0 01-03-2005 11:39 AM


All times are GMT +1. The time now is 09:08 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT