Does this script still work to disable right click?
Page 1 of 1
Does this script still work to disable right click?
I was looking for a way to disable right click in my forum and found this.
It was from 2008, so I was wondering if it still works?
I was also wondering if I use this code will it hinder people from using right click to copy and paste text for a quote. I really just want to stop people from being able to take our images with just a few mouse clicks. I know all the in and outs of you cannot keep an image safe, but at least making them work a little for it might help us find those that are 'borrowing' our images. I guess I am asking if the above code is for all right click or just images? Is there a code for just disabling right click for images?
Any help would be greatly appreciated.
Cy
- Code:
<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>
It was from 2008, so I was wondering if it still works?
I was also wondering if I use this code will it hinder people from using right click to copy and paste text for a quote. I really just want to stop people from being able to take our images with just a few mouse clicks. I know all the in and outs of you cannot keep an image safe, but at least making them work a little for it might help us find those that are 'borrowing' our images. I guess I am asking if the above code is for all right click or just images? Is there a code for just disabling right click for images?
Any help would be greatly appreciated.
Cy
DigitalCyanide- Forumember
- Posts : 66
Reputation : 0
Language : English
Similar topics
» Script to disable the right-click
» How to disable right click
» Disable Right-click
» HOW TO DISABLE RIGHT CLICK
» Disable Right Click
» How to disable right click
» Disable Right-click
» HOW TO DISABLE RIGHT CLICK
» Disable Right Click
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum