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

PastePreventer is a cross-browser and mobile-first jQuery plugin which prevents the users from Copy and Paste function in your webpages.

Paste copy

Documentation

#Paste Preventer

xcv

Simple Jquery plugin to prevent copying and pasting in all browsers( focused on mobile browsers )

This plugin is based on answers from this SO Question

Demo

Iinstallation:

    <script src="pastepreventer.min.js"></script>

Usage:

    $(document).ready(function(){              $(".words").blockCopy({ // Block copy on elements which have 'words' class             blockPasteClass : "noPasting",  // Optional: block pasting on inputs (or textareas) which have 'noPasting' class             message:"Shame on you!"         // Optional: Message to show if user tried to paste         });              }); 

You May Also Like