Title: Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All
Author: Init HTML
Published: <strong>2025 年 8 月 8 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜索插件

![](https://ps.w.org/init-content-protector/assets/banner-772x250.png?rev=3341703)

![](https://ps.w.org/init-content-protector/assets/icon-256x256.png?rev=3341703)

# Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All

 作者：[Init HTML](https://profiles.wordpress.org/brokensmile2103-1/)

[下载](https://downloads.wordpress.org/plugin/init-content-protector.1.3.1.zip)

 * [详情](https://cn.wordpress.org/plugins/init-content-protector/#description)
 * [评价](https://cn.wordpress.org/plugins/init-content-protector/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/init-content-protector/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/init-content-protector/#developers)

 [支持](https://wordpress.org/support/plugin/init-content-protector/)

## 描述

**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](https://en.inithtml.com/init-plugin-suite-minimalist-powerful-and-free-wordpress-plugins/)—
a collection of minimalist, fast, and developer-focused tools for WordPress.

GitHub repository: [https://github.com/brokensmile2103/init-content-protector](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](https://github.com/brix/crypto-js) for encryption.
 –
Minified version: `assets/js/crypto-js.min.js` – Source version: [GitHub Repo](https://github.com/brix/crypto-js)

### License

This plugin is licensed under the GPLv2 or later.
 You are free to use, modify, 
and distribute it under the same license.

## 屏幕截图

[⌊Settings Page – Configure protection methods, encryption, keyword cloaking, and
per-post type options.⌉⌊Settings Page – Configure protection methods, encryption,
keyword cloaking, and per-post type options.⌉[

**Settings Page** – Configure protection methods, encryption, keyword cloaking, 
and per-post type options.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/init-content-protector` directory,
    or install via the WordPress plugin screen.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Settings  Init Content Protector** and configure your preferred options.

## 常见问题

### 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.

## 评价

![](https://secure.gravatar.com/avatar/dd8cef4c70bb3a14f5922eb54c92a8166947a303f44eb4a89a954cee4defad6f?
s=60&d=retro&r=g)

### 󠀁[Not good](https://wordpress.org/support/topic/not-good-243/)󠁿

 [tinaponting](https://profiles.wordpress.org/ponting/) 2026 年 6 月 2 日 1 回复

Noone could read my blogposts:(

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/init-content-protector/reviews/)

## 贡献者及开发者

「Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All」是开源软件。 以下
人员对此插件做出了贡献。

贡献者

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

[帮助将「Init Content Protector – Anti-Copy, Anti-Scrape, Encrypt-All」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/init-content-protector)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/init-content-protector/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/init-content-protector/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/init-content-protector/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/init-content-protector/)。

## 更新日志

#### 1.3 – November 15, 2025

 * Fully decoupled **encryption** and **JS content protection** into separate script
   modules (`decrypt.js` and `content-protector.js`)
 * Split script loading into **two independent wp_enqueue_scripts hooks**, eliminating
   unwanted cross-dependencies
 * Renamed localized JS object for encryption to **InitContentDecryptData** for 
   clearer separation of responsibilities
 * Ensured JS protection (block copy, right-click, print, DevTools) works independently
   even when encryption is disabled
 * Improved maintainability by isolating crypto loading (`crypto-js.min.js`) strictly
   to encrypt mode
 * Refined initialization order to guarantee consistent behavior across all themes
   and page builders

#### 1.2 – November 14, 2025

 * Added option to **exclude specific user roles** from all protection layers (encryption,
   JS protection, noise injection, keyword cloaking)
 * Implemented role-based bypass at both **filter level** and **asset enqueue level**
   for consistent behavior across frontend
 * Refactored protection flow so encryption, JS protection, and noise injection 
   operate **independently**, preventing unwanted coupling
 * Improved script enqueue logic to load CryptoJS **only when encryption is enabled**
 * Optimized hook processing to avoid unnecessary filtering for excluded roles and
   unsupported post types
 * Ensured clean fallback behavior when mixed protection settings are enabled

#### 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

## 额外信息

 *  版本 **1.3.1**
 *  最后更新：**1 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.7 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/init-content-protector/)
 * 标签
 * [anti copy](https://cn.wordpress.org/plugins/tags/anti-copy/)[anti-scraping](https://cn.wordpress.org/plugins/tags/anti-scraping/)
   [content-protection](https://cn.wordpress.org/plugins/tags/content-protection/)
   [copy protection](https://cn.wordpress.org/plugins/tags/copy-protection/)[encryption](https://cn.wordpress.org/plugins/tags/encryption/)
 *  [高级视图](https://cn.wordpress.org/plugins/init-content-protector/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/init-content-protector/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/init-content-protector/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/init-content-protector/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/init-content-protector/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/init-content-protector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/init-content-protector/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/init-content-protector/reviews/)

## 贡献者

 *   [ Init HTML ](https://profiles.wordpress.org/brokensmile2103-1/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/init-content-protector/)