We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

block right button for saving or coping | Forum

loveswing16
loveswing16 Feb 15 '14
i need help to protect my website to block user to copy any data from my website.Is some code or i can pay for this modification
Ebenezer from Bluetide Webs
JavaScript can do the job for you.


You can change your selection bg color to transparent and disable right click.

Arash
Arash Mar 2 '14
Do you want to make it harder or just block it all the way? 


As far as the blocking, not a chanse. Even the NSA and the pentagon can't keep people from copying stuff/saving them. Read in the newspaper yesturday that yahoo and xbox (kinect) pobably was hacked.

Arash
Arash Mar 2 '14

This is how it's done.

<scriptlanguage="javascript">document.onmousedown=disableclick;status="Right Click Disabled";Functiondisableclick(event){if(event.button==2){alert(status);returnfalse;}}</script>


Don't do it! Just going to annoy your users. I will never answer questions like this again.