DE127 / NoPeek

noPeek - A most effective way to protect your online content from being copied or grabbed

Home Page:https://de127.github.io/NoPeek/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NoPeek

 

NoPeek

Github top languageRepository sizeLicense

About   |   Features   | Starting   |   License   |   DE127


🎯 About

NoPeek is a tool designed to safeguard all content on your website from being copied. The straightforward JavaScript code completely prevents all existing content copying methods, including right-click menus, hotkeys, developer tools, text selection and dragging, and more.

✨ Features

βœ”οΈ Full text and image protection; βœ”οΈ All major browsers supported Chrome, Firefox, Safari, Edge, Opera; βœ”οΈ Works both for the entire Website and for Single Pages; βœ”οΈ 100% SEO Friendly; βœ”οΈ Native Valid JavaScript, without jQuery; βœ”οΈ Works well on Windows, Linux, and macOS; βœ”οΈ Lightweight and Fast; βœ”οΈ Compatible with all Modern Browsers; βœ”οΈ Easy to use and customize; βœ”οΈ Awesome for Mobile and Tablets; βœ”οΈ Huge Customization Capabilities;

🏁 Starting

# Clone this project
$ git clone https://github.com/de127/nopeek

πŸš€ Quick Start

  1. Download NoPeek: Download NoPeek from the Github repository.

  2. Include NoPeek Files: Copy NoPeek's JS files into your project directory.

    <script type="text/javascript" src="/path/to/hotkeys.min.js"></script>
    <script type="text/javascript" src="/path/to/devtools-detect.js"></script>
    <script type="text/javascript" src="/path/to/NoPeek.js"></script>
  3. Enable NoPeek: Insert the following code into your website to start using NoPeek.

    <script>
        var mdpNoPeek = { 
            "selectAll": "on", 
            "copy": "on", 
            "cut": "on", 
            "paste": "on", 
            "save": "on", 
            "viewSource": "on", 
            "printPage": "on", 
            "developerTool": "on", 
            "windowBlur": "on", 
            "tabHidden": "on", 
            "readerMode": "on", 
            "rightClick": "on", 
            "rightClickImage": "on", 
            "textSelection": "on", 
            "imageDragging": "on" 
        };
    </script>

πŸ› οΈ Configuration

You can customize NoPeek's settings by modifying the mdpNoPeek variable in the JavaScript code. Here are some available settings:

  • "selectAll": "on": Enable selecting all content on the page.
  • "copy": "on": Allow copying content.
  • "cut": "on": Allow cutting content.
  • "paste": "on": Allow pasting content.
  • "save": "on": Allow saving the webpage.
  • "viewSource": "on": Allow viewing the webpage source code.
  • "printPage": "on": Allow printing the webpage.
  • and many more settings.

πŸ“ Example

Below is an example of how to use NoPeek in a webpage:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Website Title</title>
    <script type="text/javascript" src="/path/to/hotkeys.min.js"></script>
    <script type="text/javascript" src="/path/to/devtools-detect.js"></script>
    <script type="text/javascript" src="/path/to/NoPeek.js"></script>
    <script>
        var mdpNoPeek = { 
            "selectAll": "on", 
            "copy": "on", 
            "cut": "on", 
            "paste": "on", 
            "save": "on", 
            "viewSource": "on", 
            "printPage": "on", 
            "developerTool": "on", 
            "windowBlur": "on", 
            "tabHidden": "on", 
            "readerMode": "on", 
            "rightClick": "on", 
            "rightClickImage": "on", 
            "textSelection": "on", 
            "imageDragging": "on" 
        };
    </script>
</head>
<body>
    <!-- Your website content goes here -->
</body>
</html>

πŸŽ‰ Congratulations!

You have successfully integrated and configured NoPeek for your website. Now, the content on your website will be protected from unauthorized copying or grabbing.

πŸ“ License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❀️ by DE127

 

`Back to top

About

noPeek - A most effective way to protect your online content from being copied or grabbed

https://de127.github.io/NoPeek/

License:MIT License


Languages

Language:JavaScript 76.0%Language:HTML 24.0%