The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Disable Right-click

+5
Rok
buffybaskey
dede2
Shadow
Har Dy
9 posters

Go down

Solved Disable Right-click

Post by Har Dy October 28th 2007, 5:18 pm

How can I disable Right Click from my forum? Can someone please help!
Har Dy
Har Dy
Forumember

Male Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!

Back to top Go down

Solved Re: Disable Right-click

Post by Shadow October 29th 2007, 10:12 am

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.
Shadow
Shadow
Manager
Manager

Male Posts : 16217
Reputation : 1831
Language : French, English

Back to top Go down

Solved Re: Disable Right-click

Post by Har Dy October 30th 2007, 3:23 am

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.
is not working , they just showing the code on my site.
Har Dy
Har Dy
Forumember

Male Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!

Back to top Go down

Solved Re: Disable Right-click

Post by Shadow October 30th 2007, 10:19 am

<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>.
Shadow
Shadow
Manager
Manager

Male Posts : 16217
Reputation : 1831
Language : French, English

Back to top Go down

Solved Re: Disable Right-click

Post by Har Dy November 1st 2007, 1:00 am

Typlo wrote:<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>.
Thanks you!!!
Har Dy
Har Dy
Forumember

Male Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!

Back to top Go down

Solved Re: Disable Right-click

Post by dede2 November 4th 2007, 6:14 am

The code is not working any more????
dede2
dede2
Forumember

Female Posts : 51
Reputation : 0
Language : English

http://sensation.womanboard.com

Back to top Go down

Solved Re: Disable Right-click

Post by Har Dy November 4th 2007, 6:41 pm

dede2 wrote:The code is not working any more????
<script language=JavaScript1.2> function ejs_nodroit() { alert('Right-click is forbidden !!!'); return(false); } document.oncontextmenu = ejs_nodroit; </script>
Har Dy
Har Dy
Forumember

Male Posts : 693
Reputation : 20
Language : English , Vietnamese
Location : North California!

Back to top Go down

Solved Re: Disable Right-click

Post by buffybaskey February 25th 2008, 2:02 am

thank you xx
buffybaskey
buffybaskey
Forumember

Female Posts : 39
Reputation : 0
Language : english

http://www.ilovedisney.disneytopic.com

Back to top Go down

Solved Re: Disable Right-click

Post by Rok November 21st 2008, 12:21 am

This was a great thing for my forum! Thanks so much for the code guitar .
Rok
Rok
Energetic

Male Posts : 6823
Reputation : 234
Language : idk

Back to top Go down

Solved Re: Disable Right-click

Post by Tarogasini November 21st 2008, 12:53 am

I assume, you used the code provided by Har Dy ?
Tarogasini
Tarogasini
Active Poster

Male Posts : 1351
Reputation : 9
Language : English
Location : Simplicity is my style.

Back to top Go down

Solved Re: Disable Right-click

Post by Brandon November 21st 2008, 2:00 am

Tarogasini wrote:I assume, you used the code provided by Har Dy ?
yea, that one and the one Typlo posted are both correct.

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
Brandon
Forumember

Male Posts : 361
Reputation : 23
Language : English

Back to top Go down

Solved Re: Disable Right-click

Post by Sweetheart1 December 27th 2008, 5:23 am

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 Razz
Sweetheart1
Sweetheart1
Forumember

Female Posts : 146
Reputation : 1
Language : English
Location : Australia

http://copyrightcorner.aforumfree.com/forum.htm

Back to top Go down

Solved Re: Disable Right-click

Post by Luky December 27th 2008, 12:51 pm

Since this topic appears to be solved, I will lock it and mark it as solved.
Luky
Luky
Energetic

Male Posts : 6106
Reputation : 264
Language : Romanian, English
Location : Bucharest, Romania

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum