🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

stopStealPhoto is a very small jQuery plugin that prevents saving images from your website and displays a custom alert message when the user tries to right click the images.

right-click

Documentation

stopStealPhoto

jQuery plugin to prevent save images by right click

[demo] (http://befine.pro/dev/stopsteal/)

install

just add script and fire function

<script src="your/path/jquery.stopStealPhoto.min.js">
$('img').stopStealPhoto();

settings

  • delay: int | default 600
  • message: string | default "This image is protected"
  • customClass: string | default undefined
  • cursorOffset: int | default 14

it is possible to show custom text for each image, just use data attribute

<img src="image.jpg" data-ssph="custom text">

You May Also Like