Javascript – Locking Right Click



When a visitor wants to copy your contents by mouse, he uses right click. If you want to prevent him from this job you must lock the cursor right click. The following code can do it easily for you and shows a message when the user wants to use the mouse right button.

Code:





Preview:






Leave a comment

Your email address will not be published.


*



Subscribe to our Newsletter.

we will inform you new codes, fonts and etc…