Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 875 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 875 Bytes

NoPrint.js

Disable Print, Screenshot, Copy & Paste in HTML by JavaScript.

NoPrint.js is a small and neat open source JS library that disables print, screenshot, copy and paste functions in HTML. You can also enable the AutoBlur option to let the content turn to blur once the mouse leaves the webpage. That will prevent most of common users from taking screenshots. NoPrint.js can work on most of popular web browsers such as Chrome, Edge, FireFox and Opera.

NoPrint.js EXAMPLE:

https://pdfanticopy.com/noprint-example.html

How to Use NoPrint.js



You can copy this code below and insert into your HTML before :

<script language="javascript">
var noPrint=true;
var noCopy=true;
var noScreenshot=true;
var autoBlur=true;
</script>

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