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.

anti-right-click

5 posters

Go down

anti-right-click Empty anti-right-click

Post by Danie January 31st 2009, 2:43 am

I want to block people who want to copy by right clicking for free. How do i do this?
avatar
Danie
New Member

Posts : 10
Reputation : 0
Language : English

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by Sanket January 31st 2009, 2:51 am

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

Add this to the site description
General>Configuration
Site Description:

See if it works for you.
Sanket
Sanket
ForumGuru

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

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by Punkarella January 31st 2009, 4:16 am

That works
I tried it, and it works!

Thats excellent

Thanks for asking Danie, and thanks for showing is how Sanket
Punkarella
Punkarella
Forumember

Female Posts : 334
Reputation : 3
Language : English
Location : Australian

http://www.funkyfriendsonline.ace.st

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by Danie February 2nd 2009, 1:03 am

Thank you!!!
avatar
Danie
New Member

Posts : 10
Reputation : 0
Language : English

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by ImProviser February 2nd 2009, 1:05 am

Tons of thanks ! I finally might protect my images from getting stolen Confused

BTW is there any way to protect NOT seeing website code via mozzila (ctrl+U)?

It prolly isn't available ... but... xD

And can i add custom text when members right click on forum ?

EDIT: Can i place it somewhere else... i've added other thingies to desctiption -_-

EDIT 2nd: Can i do that only to protect images, not other stuff... like... members can click right click on links, or on the text... or something like that... but is there a way only that members can NOT click while over images o.O ?

please tell me there's a way xD
ImProviser
ImProviser
Forumember

Male Posts : 617
Reputation : 23
Language : Serbian, English, Deutsch
Location : Kraljevo, Serbia

http://www.team-xenon.com

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by tooyoung February 2nd 2009, 2:33 am

they can keep your pics with print-screen and paste it on draw ...but does that code work only for 1 category?
avatar
tooyoung
Forumember

Posts : 73
Reputation : 0
Language : greek

Back to top Go down

anti-right-click Empty Re: anti-right-click

Post by Sanket February 2nd 2009, 5:07 am

IMproviser-

I am not sure if you can protect the page source available to view through mozilla.
however a way to Make Your Source Code Vanish. lol

Now before I show you this last trick to protect your source, I would like you to first view my source. Just click "View" then choose "Source"

How did I do that?

Place your cursor in front of the opening <html> tag and hit your enter button for a while. It will push your source code out of view and this will fool the fools. *smiles*

Yes you can edit the custom message. Just Change the Right-click is forbidden !!! in the code i posted to something else.
The easiest way is to have it is in the site description so that its valid for all the pages of the forum.

As tooyoung has suggested, there is always a option of print screen etc. Its not possible to protect images 100%. The best option would be too add a watermark to your images.
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