0
What ways can we hide the path of an image if the user clicks on it with the right mouse button?
0
What ways can we hide the path of an image if the user clicks on it with the right mouse button?
1
Using jQuery:
$('img').bind('contextmenu', function(e) {
return false;
});
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.
Others on the same subject Block access to a website’s source code and Do not allow saving image of a web page
– Bacco
I reversed the edit because it completely changed the question. Whenever you have a different question and the question has already been answered, ask a separate question, otherwise it harms existing answers.
– Bacco