What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Disabling Right Clicking in Html?

Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
Disabling Right Clicking in Html?
Author: Message:
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
33 / Male / –
Joined: Feb 2005
RE: Disabling Right Clicking in Html?
quote:
Originally posted by may73alliance
hi, i would like to know how easy it is to disable the right click menu on a website.....is it possible to do it in html. or will it have to be another format like php?

thanks...

I really advise you NOT to disable it. Its really annoying and it can be disabled really quickly. If someone wants to steal something from your site and you disable the rightclicking, he/she will probably look at the source code. Even if the source is encrypted, its easy to decode it again.
[Image: 468x60banner.png]
04-04-2005 01:11 PM
Profile E-Mail PM Web Find Quote Report
.Roy
Veteran Member
*****

Avatar

Posts: 1526
Reputation: 11
20 / Male / –
Joined: Aug 2004
RE: Disabling Right Clicking in Html?
heres one i found.

<Script Language="JavaScript">
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e)
    {if(e.target==document)return false;}}
else {document.onmousedown = function(){return false}
}
-->
</Script>
04-05-2005 06:03 AM
Profile PM Web Find Quote Report
Purity
Veteran Member
*****

Avatar
AngelFuck

Posts: 1348
Reputation: 38
34 / Female / –
Joined: Aug 2004
RE: Disabling Right Clicking in Html?
If you are trying to stop people from stealing images with right clicking it wont make a difference...Just print screen and crop out the crap around the pic....
[Image: puritysig8.jpg/]
www.purity.toastednet.org
04-05-2005 06:05 AM
Profile E-Mail PM Web Find Quote Report
.Roy
Veteran Member
*****

Avatar

Posts: 1526
Reputation: 11
20 / Male / –
Joined: Aug 2004
RE: Disabling Right Clicking in Html?
or you can look at the source code. But most noobs wouldnt know that :P
04-05-2005 06:08 AM
Profile PM Web Find Quote Report
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
33 / Male / –
Joined: Feb 2005
RE: RE: Disabling Right Clicking in Html?
quote:
Originally posted by Hobbes
or you can look at the source code. But most noobs wouldnt know that :P

Guess again, most noobs try that when rightclicking fails
[Image: 468x60banner.png]
04-05-2005 12:03 PM
Profile E-Mail PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
33 / Male / –
Joined: Feb 2004
RE: Disabling Right Clicking in Html?
Heh, even better is when you can just click and drag the image from the website and hit (Windows Key)+D and then just drag the picture onto your desktop. Easiest way around disabling right click that I know of.
[Image: 7.png]
04-05-2005 12:23 PM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: Disabling Right Clicking in Html?
=/ anti right clicking is really bad and can be disabled easily eg
if you disable javascript (very easy)
run a javascript bookmark to disable your protection
run greasemonkey to make the javascript auto disable your protection.
if someone wants the source to your page they will get it , if you dotn want someone having your source don't put your website on the net.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
04-05-2005 12:25 PM
Profile PM Web Find Quote Report
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
33 / Male / –
Joined: Feb 2005
RE: Disabling Right Clicking in Html?
Or use flash ;)
[Image: 468x60banner.png]
04-05-2005 03:41 PM
Profile E-Mail PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Disabling Right Clicking in Html?
quote:
Originally posted by TheGeek
Or use flash ;)

And let others decompile it?
The previous sentence is false. The following sentence is true.
04-06-2005 06:38 AM
Profile PM Find Quote Report
ipab
Veteran Member
*****

Avatar
Design Evolved

Posts: 1017
Reputation: 32
34 / Male / Flag
Joined: May 2004
RE: Disabling Right Clicking in Html?
quote:
Originally posted by Segosa

And let others decompile it?

lol good point

as for disabling right clicking, i feel that it gives people more incentive into bypassing it rather than when it arose less supiscion when it wasnt blocked
56656E692C 20566964692C 2056696369
04-06-2005 06:50 AM
Profile E-Mail PM Web Find Quote Report
Pages: (4): « First « 1 2 [ 3 ] 4 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On