Click here to Skip to main content
16,014,591 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have used JS code for disabling right click on page but it take time to display the alert message(cant right click!) on right clicking on the server where as works fine on localy.
means it allows right click first time and alerts on second click on the Server.
Posted
Comments
Thomas Daniels 31-May-14 8:41am    
Can you show your code please?
Thomas Daniels 31-May-14 8:42am    
Also, a message that right-clicking is not allowed is useless. If a user disables JavaScript then he can still right click.
ZurdoDev 31-May-14 11:27am    
Why is it doing that?
Not a good idea.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900