Descrição
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 content encryption with client-side decryption using CryptoJS
– Keyword cloaking using CSS pseudo-elements
– Invisible noise injection to confuse crawlers
– Per-post type configuration
– Custom encryption key per site
– Custom content selector support
Use this plugin to harden your site’s content visibility while maintaining a smooth reading experience for real users.
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.
Ecrãs
Instalação
- Upload the plugin files to the
/wp-content/plugins/init-content-protectordirectory, or install via the WordPress plugin screen. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings Init Content Protector and configure your preferred options.
Perguntas frequentes
-
Will this affect SEO?
-
If you enable full content encryption, search engines will not be able to see the content. Only use this option if SEO visibility is not required.
-
Does this plugin support custom post types?
-
Yes. You can choose which post types are protected in the settings page.
-
Can I use my own encryption key?
-
Yes. You can set a custom key per site for added security.
Avaliações
Este plugin não tem avaliações.
Contribuidores e programadores
“Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All” é software de código aberto. As seguintes pessoas contribuíram para este plugin:
ContribuidoresTraduza o “Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All” para o seu idioma.
Interessado no desenvolvimento?
Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.
Registo de alterações
1.1 – August 16, 2025
- Changed minimum WordPress requirement to 5.7 to leverage wp_get_inline_script_tag for safer inline script output
- Replaced wp_add_inline_script with direct inline injection for guaranteed execution across all single post pages
- Added inline script nonce/type support via wp_get_inline_script_tag for enhanced security
- Ensured encrypted payload is always available early in content, even if certain script handles are missing
- Added CustomEvent trigger (init-content-payload-ready) to allow frontend scripts to react when encrypted content is ready
- Prevented duplicate inline script injection when content filters run multiple times
1.0 – July 23, 2025
- Initial release
- JavaScript-based content protection (block copy, right-click, print, DevTools)
- Full AES-256 content encryption with CryptoJS decryption
- Invisible keyword cloaking via ::before and randomized CSS class
- Random noise injection (hidden spans) to confuse crawlers
- Supports multiple post types (customizable)
- Custom encryption key per site
- Custom content selector for JS targeting
- Fallback styling compatible with light/dark themes
- Modular settings page with sanitize and validation

