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.

Right Click Forbidden Script- Disabling Problem

+3
dr1xt-trox
tyhodge07
vince730
7 posters

Go down

Solved Right Click Forbidden Script- Disabling Problem

Post by vince730 March 30th 2008, 3:22 am

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


I just copied this in my Forum- the Problem is that when Posting a Message- contrary to what its description was when I first read about it - it is Still ENABLED when posting when it should be Disabled.


Does anybody know how to edit this script so it is not active when posting a message in the Forum?

Thanks for your Help! Very Happy


2nd Edit- I have decided that I do not wish to use this script Anymore.
When I go to my Admin Panel to the Site Description where I put the Code in- it is not there.
Does anybody know how I would go about disabling the code now so the Right Click Forbidden is Gone?


Last edited by Sanket on March 13th 2009, 9:34 am; edited 3 times in total (Reason for editing : Editing Again)
vince730
vince730
Forumember

Posts : 295
Reputation : 10
Language : English

http://www.webbies4ever.net

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by tyhodge07 March 30th 2008, 3:35 am

whered u place the code at?
tyhodge07
tyhodge07
Forumember

Male Posts : 708
Reputation : 5
Language : english
Location : indiana

http://rcmodzone.all-up.com/

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by dr1xt-trox March 30th 2008, 3:47 am

it has to be in ur SITE DESCRIPTION .
in ur home page
avatar
dr1xt-trox
New Member

Male Posts : 16
Reputation : 0
Language : spanish . english

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by vince730 March 30th 2008, 4:02 am

I put it in the Place I was suppost to and its working fine.

What I'm asking is if there is a way to alter it so it is disabled when you are posting a Message (so you can paste from the right click into your messgage)

Thanks! Very Happy


EDIT- I'm very sorry guys- I meant to say when I try to post a message it is still ENABLED.
(When its suppost to be disabled)
Thanks for your help! Very Happy


2nd Edit- As Said in my Edited Original Post- I would like to Remove the Script Completly now Wink


Last edited by vince730 on March 30th 2008, 4:52 am; edited 2 times in total (Reason for editing : Changing)
vince730
vince730
Forumember

Posts : 295
Reputation : 10
Language : English

http://www.webbies4ever.net

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by Maxiamento March 30th 2008, 5:22 am

if this is about copying and pasting just use control+c for copying stuff. and control+v for pasting Wink

that way you can keep it intact
Maxiamento
Maxiamento
Forumember

Posts : 182
Reputation : 0
Language : English

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by Skittles March 30th 2008, 5:24 am

There are two places where it shows site description, and you are probably looking in the wrong one, than the one u put it in.

Admin Panel >> General >> Configuration, site description

the other location is Admin Panel >> General >> Homepage >> configuration, site description.
Skittles
Skittles
Hyperactive

Female Posts : 3013
Reputation : 11
Language : English, Sarcasm and a bit of Swedish
Location : Sweden Göteborg

http://moonlightcafe.forumotion.com/forum

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by vince730 March 30th 2008, 6:48 am

skittlespc wrote:There are two places where it shows site description, and you are probably looking in the wrong one, than the one u put it in.

Admin Panel >> General >> Configuration, site description

the other location is Admin Panel >> General >> Homepage >> configuration, site description.

I did not even realize that there was!

Thanks SO Much Skittles! Very Happy

My Problem's Solved!
vince730
vince730
Forumember

Posts : 295
Reputation : 10
Language : English

http://www.webbies4ever.net

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by 88power88 March 13th 2009, 7:53 am

hey thanks i needed this to
avatar
88power88
New Member

Posts : 24
Reputation : 0
Language : English

Back to top Go down

Solved Re: Right Click Forbidden Script- Disabling Problem

Post by Sanket March 13th 2009, 9:34 am

Arrow Topic Solved
Arrow Locked

Sanket
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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