Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All
Init Content Protector is a powerful yet lightweight plugin that safeguards your post content from unauthorized copying, scraping tools, and inspection via browser developer tools.
This plugin is part of the Init Plugin Suite — a collection of minimalist, fast, and developer-focused tools for WordPress.
GitHub repository: https://github.com/brokensmile2103/init-content-protector
Features:
– JavaScript-based copy protection (blocks selection, right-click, print, DevTools access)
– Full AES-256 content encryption with client-side decryption via CryptoJS
– Inline delivery (default, simple) or Enhanced delivery (fetches the key via a REST API endpoint after page load — keeps it out of cached/static HTML, cache-plugin friendly)
– Encrypted output is cached per post and auto-invalidated on edit, avoiding redundant crypto work on every page view
– Fails open gracefully on hosts missing OpenSSL/PBKDF2 support, instead of breaking the page
– Keyword cloaking using CSS pseudo-elements
– Invisible noise injection to confuse crawlers — only ever injected into plain text, never inside HTML tags or inside <script>, <style>, <pre>, <select>, <svg>, and similar elements; injection rate is configurable (1–50%)
– Automatic AMP detection — protection is skipped on AMP endpoints instead of producing invalid markup
– Per-post type configuration
– Excluded user roles (protection never applies to selected roles)
– Custom encryption key per site
– Custom content selector support, with an Auto-detect button in settings
Use this plugin to harden your site’s content visibility while maintaining a smooth reading experience for real users. Its goal is to deter casual bots and crawlers — not to stop a determined human, since anyone who can see content can always screenshot or retype it.
Source Code
This plugin uses CryptoJS for encryption.
– Minified version: assets/js/crypto-js.min.js
– Source version: GitHub Repo
License
This plugin is licensed under the GPLv2 or later. You are free to use, modify, and distribute it under the same license.
