Skip to content

WordPress plugin empowers you to safeguard your website's content effortlessly. With just a click, this plugin adds an extra layer of security and protection to your valuable text, images, and multimedia elements. It prevents unauthorized actions and enhances your website's copyright protection.

License

Notifications You must be signed in to change notification settings

Finland93/AllInOneContentProtection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

All in one Content Protection WordPress Plugin

The All in one Content Protection WordPress plugin provides robust content protection features to safeguard your website's intellectual property. It prevents unauthorized access, copying, and distribution of your valuable content, ensuring your hard work remains secure and protected.

Features

  • Automatic Content Protection: Automatically add custom JavaScript to disable right-click and prevent content copying.

  • Print Protection: Implement print protection by hiding content when users try to print your web pages.

  • Selective Element Protection: Prevent text and media elements from being selected or dragged, enhancing your website's security against content theft.

  • User-Friendly: Easy-to-use just activate this plugin and it will add CSS + javascript automaticly to header and footer on frontend.

  • Compatibility: Compatible with most WordPress themes, ensuring seamless integration and consistent protection across your entire website.

Installation

  1. Download: Download the plugin zip file from the latest release.

  2. WordPress Dashboard:

    • Go to your WordPress Admin Dashboard.
    • Navigate to Plugins -> Add New.
    • Click on "Upload Plugin" and select the downloaded zip file.
    • Activate the plugin.
  3. Manual Installation:

    • Extract the downloaded zip file.
    • Upload the extracted folder to the wp-content/plugins/ directory of your WordPress installation.
    • Activate the plugin from the WordPress Plugins menu.

Usage

Once the plugin is activated, your content will be automatically protected. There are no additional configuration steps required. Customize the protection features according to your preferences in the plugin settings page if needed.

Manual usage

If u want to use this on other websites you can do it like this, add header style above ending </head> element and add footer script above ending </body> tag

  1. Header style:
<style>
    @media print {
        html, body {
            display: none; 
        }
    }

    p, h1, h2, h3, h4, h5, h6, img, iframe, br, li, ul, a, div {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    img, picture, a {
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none;
    }
</style>
  1. Footer script:
<script>
    document.addEventListener('contextmenu', event => event.preventDefault());
    console.log("%cSTOP!", "color: red; font-size: 80px; font-weight:bolder;");
    console.log("%cThis website is protected by copyright laws!", "font-size: 20px; font-weight:bold;");
    console.log("%cCopying is strictly prohibited!", "font-size: 20px; font-weight:bold;");
 </script>

License

This project is licensed under the GNU General Public License v2.0 (GPL-2.0).

About

WordPress plugin empowers you to safeguard your website's content effortlessly. With just a click, this plugin adds an extra layer of security and protection to your valuable text, images, and multimedia elements. It prevents unauthorized actions and enhances your website's copyright protection.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages