Drag-and-drop describes the action of selecting an image on a web page with the mouse and then click-dragging it to desktop. Drag-and-dropping is one of the many methods that are available for copying images from web pages.
Here is a code snippet to disable drag & drop and increase security. This code will prevent mouse-dragging of images from a web page onto the desktop.
Use copy and paste to get this code or you can use the download link below:
This page can be tested. Try left-clicking the mouse on an image to drag to the desktop.
The code above gives an example of exactly how it should be used.
Do not count on this method to stop copying. To properly prevent copying, you need control at system level because all web browsers support the feature except the ArtisBrowser which was specially designed for copy protected web sites and is most effective when used with the ArtistScope Site Protection System (ASPS).
Click to download No-Drag'n'drop.zip (1 Kb)