Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
Old August 12th, 2003   #1 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Question Can anyone give me the Code for disabling right clicking?

Hi, does any know the code for disabling right clicking? If so, can you give an example and tell me where to put it in the code.

In addition, anybody know how to stop users from selecting text and copying it?

If anybody has some info, I would be very grateful.
Katsuya is offline  
Old August 12th, 2003   #2 (permalink)
Banned
 
Andrew Hruska's Avatar
 
Join Date: Mar 2003
Location: somewhere
Posts: 1,121
http://www.fluffbucket.com/howto/norightclick.htm

GRR! Not showing the code! Anyways, on my site, the message is 'You Cannot Right Click Here, dumb @$$!!!'

That site has alot of HTML things, even though it seems a little old and the craphics are cheesy.

Last edited by Andrew Hruska; August 12th, 2003 at 18:34.
Andrew Hruska is offline  
Old August 12th, 2003   #3 (permalink)
Master Programmer
 
Jens Duttke's Avatar
 
Join Date: May 2001
Location: Germany
Posts: 190
hi!

Why do you want to disable the right mouse button ?

Do you want to keep all people who swapped the left with the right button, away from using your page ?

To "disable" the right mouse button is really stupid, because every function in the context menu can be also accessed over the browsers menu ... it's just much easier to use (like the "Open in new window" function).

Cu, JNS
--
http://www.emucheater.com
http://cyberpad.psxemu.com
Jens Duttke is offline  
Old August 12th, 2003   #4 (permalink)
Puchiko-nyu!
 
kairi00's Avatar
 
Join Date: Jul 2001
Location: 49° 11' N 123° 10' W
Posts: 2,854
Re: Can anyone give me the Code for disabling right clicking?

Rule of thumb: once your webpage is up, ANYONE can view the HTML Source. Nothing you can do about it.
__________________
"Not every ejaculation deserves a name."

--- George Carlin
kairi00 is offline  
Old August 12th, 2003   #5 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Wink

Ok I almost have it.

This is where I'm at. I have disabled right clicking. Now I need to know how to disable the Left and Right at the same time.

I would like to say, Andrew Hruska. Thank you so much! I cannot believe anyone would actually help me. I love you man! If you ever need game or hardware advice, just ask!

And to Jens Duttke, you obviously have no idea what I'm trying to do. So before, you make a judgment, ask sensible questions and become more informed on the situation.

Thank you for your time.
Katsuya is offline  
Old August 12th, 2003   #6 (permalink)
Puchiko-nyu!
 
kairi00's Avatar
 
Join Date: Jul 2001
Location: 49° 11' N 123° 10' W
Posts: 2,854
Re: Can anyone give me the Code for disabling right clicking?

If you REALLY need to disable the Left button, just use a different button code, no? button = 2 is right button, button = 1 is left button.
__________________
"Not every ejaculation deserves a name."

--- George Carlin
kairi00 is offline  
Old August 12th, 2003   #7 (permalink)
Administrator
 
Chrono Archangel's Avatar
 
Join Date: Dec 2001
Location: Montreal, Canada
Posts: 7,228
Re: Can anyone give me the Code for disabling right clicking?

lol then what are you trying to prevent by disabling right-clicking?
if its stealing your pics then it wont help you.
if its stealing your text then it wont help you...
Chrono Archangel is online now  
Old August 12th, 2003   #8 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
I know all that. It's just disabling them at same time that's my problem
Katsuya is offline  
Old August 12th, 2003   #9 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Re: Can anyone give me the Code for disabling right clicking?

Chrono can I ask you a question? Why does everyone think they need to LOL at everything they don't understand?

Anyway, the plan is this.

For the start page use the no right clicking code (so they can't right click)

Still with me?

Then at the all text part of the page disable both types of clicking

Facts

IE is used by 90 percent of net users

80 percent won't know how to stop my code

Understand? Good!
Katsuya is offline  
Old August 12th, 2003   #10 (permalink)
Administrator
 
Chrono Archangel's Avatar
 
Join Date: Dec 2001
Location: Montreal, Canada
Posts: 7,228
Re: Can anyone give me the Code for disabling right clicking?

but there is still that 20 percent mouahahaha.....(oops sorry)
Chrono Archangel is online now  
Old August 12th, 2003   #11 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Re: Can anyone give me the Code for disabling right clicking?

Less then 2 of that 20 percent will see my web page (Perhaps less)
Katsuya is offline  
Old August 12th, 2003   #12 (permalink)
War Games coder
 
KillerShots's Avatar
 
Join Date: Apr 2001
Location: Florida
Posts: 1,918
Re: Can anyone give me the Code for disabling right clicking?

Come now, creating no-right-click web pages is no way to take over the world... however, combine that with self-replicating pop-unders with no clicking allowed and no X button, now THAT can get you started on world domination. (start evil laughter)
__________________
Primary
CPU: Athlon 64 X2 4400+ Mobo: Biostar N4SLI-A9 RAM: 2G Crucial (DDR400) Video: eVGA GeForce 7900 GTX (512M) Audio: HDA X-Mystique HD(s): Maxtor 300G SATA2, Samsung 400G SATA2 OS(s): WinXP x64 Pro, Vista x32 Ultimate, Gentoo x64 Monitor(s): Primary - 19" Flat Panel (1280x1024) Secondary - 19" Flat Panel (1280x1024) Tertiary - Zenith 42" Plasma TV (1024x768 res)

Many other machines... sig too short
KillerShots is offline  
Old August 12th, 2003   #13 (permalink)
Banned
 
Andrew Hruska's Avatar
 
Join Date: Mar 2003
Location: somewhere
Posts: 1,121
hehe.. i did alot of Javascript on one page on my site called "
Evil". It detects your internet connection speed and forces you to download a file evil for your connection. And you can't exit, can't right click, until you download the file and execute it. Muhahahahaha!
Andrew Hruska is offline  
Old August 12th, 2003   #14 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Re: Can anyone give me the Code for disabling right clicking?

Quote:
Originally Posted by KillerShots
Come now, creating no-right-click web pages is no way to take over the world... however, combine that with self-replicating pop-unders with no clicking allowed and no X button, now THAT can get you started on world domination. (start evil laughter)
Well, my plan for world domination includes, excellent literature, and fine art. they won't expect the secret messages in the second word of every sentence.

1: Of Man[Katsuya]s First Disobedience, and the Fruit
2: Of that Forbidde[Will]n Tree, whose mortal tast
3: Brought Deat[Rule]h into the World, and all our woe,
4: With los[You]s of EDEN, till one greater Man
Katsuya is offline  
Old August 12th, 2003   #15 (permalink)
RF
Canadian Spaceman
 
RF's Avatar
 
Join Date: May 2002
Location: Canada
Posts: 8,594
Re: Can anyone give me the Code for disabling right clicking?

You may also want this to protect your images.

Code:
META HTTP-EQUIV="imagetoolbar" CONTENT="no"
EDIT: You need brackets at the start and end.

That disables IE6 Image toolbar, the thing that pops up automatically on images. Overall there is no real protection, if the person knows a little info, they can have your image if they want.
__________________
RF is offline  
Old August 12th, 2003   #16 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Re: Can anyone give me the Code for disabling right clicking?

Reichfuher, you rock! Thats what I like to see. Good info, thanks man!
Katsuya is offline  
Old August 12th, 2003   #17 (permalink)
Anti-Brand Loyalist
 
Gamer1's Avatar
 
Join Date: Mar 2002
Location: Its too dark to tell...
Posts: 3,237
Re: Can anyone give me the Code for disabling right clicking?

People could always look into their temporary internet files if they want the image.

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

that script is possibly the best script out there to stop right clicking. it works for mozilla and IE. and it even stops the keyboard right click.
__________________
Iris: (Proc:Intel Pentium4 2.8Ghz w/ HT UNLOCKED @ 15x200) (Mobo: Asus P4C800-E) (RAM: Corsair XMS 2x512MB DDR400) (HDD 1: Seagate 80GB, 8MB Buffer, 7200 RPM) (Disk Drive 1: Lite-On 16x DVD Burner 1673S) (GFX Card: Radeon 9800 All-In-Wonder Pro 128MB) (Sound Card: Sound Blaster Audigy)

Morrigan: (Proc:AMD Athlon 2500+ @ 11x200) (Mobo: Asrock K7V88) (RAM: Corsair XMS 512MB DDR400) (HDD 1: Seagate 80GB, 8MB Buffer, 7200 RPM) (Disk Drive 1: NEC 16x DVD Burner 3200AG) (GFX Card: Radeon 920064MB) (Sound Card: Sound Blaster Live! 5.1)
Gamer1 is offline  
Old August 12th, 2003   #18 (permalink)
~¤ PanZeR ¤~ idRO Thor
 
Galway no Sora's Avatar
 
Join Date: Mar 2003
Location: Valhalla, in Odin's throne
Posts: 3,145
Re: Can anyone give me the Code for disabling right clicking?

In my country, there is a site that don't even will make you able use "save as" command. The result will always said that "this page can't be saved". For right and left click, also not working. You want block the text [usually to copy the text with keyboard Ctrl + C]... not working too. The site is www.*censored*.com. I'm not sure if I can post that site here, since it will break the rules. But I can sure you that what I said here is true. Nice job if you can make it like that .
__________________



Core 2 Duo 1.6 GHz «» 2048MB DDR2 RAM «» 256MB onboard Graphic
Onboard Realtek High Definition Soundcard «» 160 + 40 GB SATA HDD
Pioneer DVD±RW «» 15.4" Widescreen LCD «» Windows Vista Ultimate

Sucks ha? Yeah, that's a laptop for sure.
Galway no Sora is offline  
Old August 12th, 2003   #19 (permalink)
-
 
Join Date: Jul 2003
Location: -
Posts: 1,936
Re: Can anyone give me the Code for disabling right clicking?

Quote:
Originally Posted by Gamer1
People could always look into their temporary internet files if they want the image.
True, but that is something most people wont think about, also thanks for the code link (You rock!)

To Galway no Sora, thanks for the info. I'll look into it.

P.S
Is that avatar a picture of you?

(edit)

No it's not you, I Figured it out

Last edited by Katsuya; August 12th, 2003 at 21:46.
Katsuya is offline  
Old August 12th, 2003   #20 (permalink)
Banned
 
Andrew Hruska's Avatar
 
Join Date: Mar 2003
Location: somewhere
Posts: 1,121
Galway no Sora, you know better

Katsuya, check out http://www.ngemu.com/forums/showthre...738#post575738 for info about Galway no Sora's avatar. you'll be surprised
Andrew Hruska is offline  
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


All times are GMT. The time now is 03:23.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5