Content Protection And Content Locking – NoPrint.js

Category: Javascript , Recommended | November 9, 2021
Authorsunxvogy
Last UpdateNovember 9, 2021
LicenseMIT
Views482 views
Content Protection And Content Locking – NoPrint.js

NoPrint.js is a JavaScript library for protecting web content from being plagiarized.

Features:

  • Disable Copy & Paste (Right Click)
  • Disable Content Selection (CTRL+S)
  • Disable Print (CTRL+P)
  • Disable Screenshot
  • Auto blurs web content once the mouse cursor leaves the content area.

How to use it:

1. Download and load the noprint.js library in the document.

<script type="text/javascript" src="noprint.js"></script>

2. Enable/disable Content Protection features:

var autoBlur=true;
var noPrint=true;
var noCopy=true;
var noScreenshot=true;

You Might Be Interested In:


Leave a Reply