Protect Your Images From Being Stolen Using jQuery - picopyright

File Size: 7.6 KB
Views Total: 1220
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Protect Your Images From Being Stolen Using jQuery - picopyright

picopyright is a JQuery plugin to protect your website from image theft that displays a custom copyright toast message when the user right click on the images you specify.

How to use it:

1. Load the required style sheet jquery.picopyright.min.css to style the copyright alert message.

<link rel="stylesheet" href="jquery.picopyright.min.css">

2. Load jQuery library and the JavaScript file jquery.picopyright.min.js at the bottom of the webpage.

<script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="jquery.picopyright.min.js"></script>

3. Call the function on any image(s) you want to protect.

$('img.demo').picopyright();

This awesome jQuery plugin is developed by CRH380A-2722. For more Advanced Usages, please check the demo page or visit the official website.