Disable Right-click
+5
Rok
buffybaskey
dede2
Shadow
Har Dy
9 posters
Page 1 of 1
Disable Right-click
How can I disable Right Click from my forum? Can someone please help!
Har Dy- Forumember
- Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!
Re: Disable Right-click
Here is the code :
You put this code in Admin Panel > General > Configuration > Site description.
- Code:
function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit;
You put this code in Admin Panel > General > Configuration > Site description.
Shadow- Manager
- Posts : 16217
Reputation : 1831
Language : French, English
Re: Disable Right-click
is not working , they just showing the code on my site.Typlo wrote:Here is the code :
- Code:
function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit;
You put this code in Admin Panel > General > Configuration > Site description.
Har Dy- Forumember
- Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!
Re: Disable Right-click
<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>.
Shadow- Manager
- Posts : 16217
Reputation : 1831
Language : French, English
Re: Disable Right-click
Thanks you!!!Typlo wrote:<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>.
Har Dy- Forumember
- Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!
Re: Disable Right-click
<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>dede2 wrote:The code is not working any more????
Har Dy- Forumember
- Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!
Re: Disable Right-click
This was a great thing for my forum! Thanks so much for the code .
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Disable Right-click
I assume, you used the code provided by Har Dy ?
Tarogasini- Active Poster
- Posts : 1351
Reputation : 9
Language : English
Location : Simplicity is my style.
Re: Disable Right-click
yea, that one and the one Typlo posted are both correct.Tarogasini wrote:I assume, you used the code provided by Har Dy ?
Also. You can edit the message. All you have to do is take out the "RIGHT CLICK IS DISABLED !!!" and add in whatever term you want...
Brandon- Forumember
- Posts : 361
Reputation : 23
Language : English
Re: Disable Right-click
Thankyou for this info....I've installed it in my practises forum and it works well....So now off to install it in the main forum
Re: Disable Right-click
Since this topic appears to be solved, I will lock it and mark it as solved.
Luky- Energetic
- Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania
Similar topics
» HOW TO DISABLE RIGHT CLICK
» How to disable right click?
» Disable right click
» Disable Right Click
» How to disable right click?
» How to disable right click?
» Disable right click
» Disable Right Click
» How to disable right click?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum