Content Protection And Content Locking – NoPrint.js

Category: Javascript , Recommended | November 9, 2021
Author:sunxvogy
Views Total:318 views
Official Page:Go to website
Last Update:November 9, 2021
License:MIT

Preview:

Content Protection And Content Locking – NoPrint.js

Description:

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