anti-right-click
5 posters
Page 1 of 1
anti-right-click
I want to block people who want to copy by right clicking for free. How do i do this?
Danie- New Member
- Posts : 10
Reputation : 0
Language : English
Re: anti-right-click
- 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- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: anti-right-click
That works
I tried it, and it works!
Thats excellent
Thanks for asking Danie, and thanks for showing is how Sanket
I tried it, and it works!
Thats excellent
Thanks for asking Danie, and thanks for showing is how Sanket
Re: anti-right-click
Tons of thanks ! I finally might protect my images from getting stolen
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
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
Re: anti-right-click
they can keep your pics with print-screen and paste it on draw ...but does that code work only for 1 category?
tooyoung- Forumember
- Posts : 73
Reputation : 0
Language : greek
Re: anti-right-click
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
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.
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- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» I want this music to appear when they click "right-click"
» Anti Autobot
» anti ddos?
» An anti 4rum???
» security for registration, anti bot
» Anti Autobot
» anti ddos?
» An anti 4rum???
» security for registration, anti bot
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum