Code for disabling right click
2 posters
Page 1 of 1
Code for disabling right click
does anyone have a code for disabling "right click" that would work in mozilla firefox and IE? (that would be for our homepage^^)
Last edited by dencey on September 3rd 2008, 5:05 pm; edited 1 time in total
Re: Code for disabling right click
- Code:
<script language=JavaScript1.2> function ejs_nodroit() { alert('[b]Right[/b]-[b]click[/b] is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>
Place that code in your site description and that should work.
Nessa- Energetic
- Posts : 6203
Reputation : 128
Language : English
Re: Code for disabling right click
i tried to put it in the site description but it didn't work..
so i tried to put it in the html source..
poof! it worked!!
THANKS NESSA!! ^___^
so i tried to put it in the html source..
poof! it worked!!
THANKS NESSA!! ^___^
Re: Code for disabling right click
You're Welcome
Since this problem has been resolved, I will lock this topic now.
=> Locked
Nessa
Since this problem has been resolved, I will lock this topic now.
=> Locked
Nessa
Nessa- Energetic
- Posts : 6203
Reputation : 128
Language : English
Similar topics
» Disabling Right Click
» Disabling Right Click
» Disabling right click?
» Right Click Forbidden Script- Disabling Problem
» lokking for a code which u say click here to enter the site
» Disabling Right Click
» Disabling right click?
» Right Click Forbidden Script- Disabling Problem
» lokking for a code which u say click here to enter the site
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum