It's a standard code, except that the browser warning is suppressed. And it works fine.
Unfortunately, this is not valid coding. So, is there a way to fix it?
Oh, and please no discussions about preventing theft from websites. I know nothing really works, I just want to deter the majority of web users.
Thanks in advance.
Last edited by Pris; 08-08-2011 at 01:11 PM.
Reason: correction of a very dumb typo
Note: it comes from here and I adapted it. The original code disables right-click completely, but I do want visitors to be able to open links in new tabs or copy text. So here you go, disable right-click on images with jQuery.
Bookmarks