=== CopyBlocker Pro - Content Protection ===
Contributors: sadathimel, themedot
Tags: text lock, disable copy, content protection, images protection
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Secure your digital assets with advanced content protection. Prevent unauthorized copying, text selection, and developer tool inspection to safeguard your intellectual property.

== Description ==

**CopyBlocker Pro - Content Protection** is your ultimate solution for **content security** and **IP protection** on WordPress. Safeguard your website’s valuable content from unauthorized copying, plagiarism, and theft with this powerful, user-friendly plugin. Designed with a sleek, modern, yet retro-themed settings interface, it offers seamless control over features to ensure your content stays safe.

### Key Features:
- **Text Lock**: Disable text selection to prevent copying.
- **Copy Block**: Block copy (Ctrl+C / Cmd+C) and paste (Ctrl+V / Cmd+V) shortcuts.
- **Custom Copyright Notice** (New in 1.1.0): Automatically append your site's copyright to any copied text.
- **Retro Toast Notifications** (New in 1.1.0): Beautiful neon floating notifications for blocked actions.
- **Per-Post Protection** (New in 1.1.0): Enable protection for specific posts or pages via a custom metabox.
- **Shield Power Dashboard** (New in 1.1.0): Visual indicator of your site's protection level in the admin panel.
- **Anti-Copy Guard**: Prevent select all (Ctrl+A / Cmd+A) for robust protection.
- **Content Shield**: Block right-click context menus to deter content theft.
- **Plagiarism Shield**: Block inspect element and developer tools.
- **Image Download Protection**: Prevent image downloads and drag-to-download actions.
- **Premium Retro UI**: A modern dark retro-futuristic admin interface with neon accents.
- **Translation-Ready**: Supports multiple languages, including Bangla (`bn_BD`).

Whether you’re a blogger, business owner, or content creator, **CopyBlocker for Content Protector** ensures your website’s content remains yours. Perfect for preventing **plagiarism**, securing **text lock** mechanisms, and maintaining a **copy-safe** environment, this plugin is lightweight, SEO-friendly, and compatible with modern WordPress versions.

### Why Choose CopyBlocker Pro?
- **Secure Content**: Protect blog posts, product descriptions, and creative work from unauthorized copying.
- **Anti-Plagiarism**: Deter content scrapers and maintain originality.
- **User-Friendly**: Easy-to-use settings with a retro aesthetic for a delightful experience.
- **Lightweight**: Minimal impact on site performance while delivering robust **copy protection**.
- **Global Protection**: Restrictions apply only to public-facing pages for non-logged-in users, leaving admin users unaffected.

Enhance your WordPress site’s security with **CopyBlocker for Content Protector**—the ultimate **anti-theft** and **content shield** solution for today’s digital world. Ideal for anyone seeking **text defender**, **copy block**, or **plagiarism shield** functionality.

### Get Started Today!
Install now to block copying, secure your content, and enjoy peace of mind with **CopyBlocker for Content Protector**.

== Installation ==

Follow these simple steps to install and use CopyBlocker Pro:

1. **Upload via WordPress Admin**
   - Go to your WordPress dashboard.
   - Navigate to *Plugins > Add New*.
   - Click *Upload Plugin*, select the `copyblocker-pro.zip` file, and click *Install Now*.
   - After installation, click *Activate*.

2. **Or Upload Manually via FTP**
   - Extract the plugin ZIP file.
   - Upload the `copyblocker-pro` folder to the `/wp-content/plugins/` directory.
   - Go to your WordPress admin panel and activate the plugin from the *Plugins* screen.

3. **Configuration**
   - After activation, go to *Settings > CopyBlocker Pro*.
   - Toggle the protection features you want to enable (copy, paste, right-click, inspect, print, image download, etc.).
   - Click *Save Settings*.

== Frequently Asked Questions ==

= Can I enable restrictions on specific pages? =
Currently, the plugin applies globally to all public pages. For custom page-level control, contact the developer for advanced integration.

= Is the plugin translatable? =
Yes, CopyBlocker Pro is translation-ready and includes support for languages like Bangla (`bn_BD`). You can contribute translations using `.po` and `.mo` files.

= Will this affect admin or logged-in users? =
No. All restrictions are applied only to public-facing parts of your site for non-logged-in users. Admins and editors are unaffected while working in the dashboard.

= How do I disable only right-click but allow text selection? =
In the plugin settings, uncheck "Disable Selection" but leave "Block Right Click" checked.

= Can I completely block screenshots? =
The plugin attempts to detect the PrintScreen key, but browser and OS limitations may allow screenshots via external tools or system-level functions. Consider using watermarks for additional protection.

= Can I block printing or image downloads? =
Yes, new in version 1.0.4, you can block print actions (Ctrl+P / Cmd+P) and prevent image downloads or drag-to-download actions via the settings panel.

== Support the Developer ==

Enjoying CopyBlocker Pro? Support development by buying the author a coffee:  
☕ [Buy Me a Coffee](https://buymeacoffee.com/5adat)

== Screenshots ==
1. Admin Settings Interface - Retro-themed, clean, and easy to use
2. Example: Blocked Right Click Context Menu
3. Example: Disabled Copy Shortcut in Action
4. Example: Blocked Print Action (Ctrl+P)
5. Example: Blocked Image Download

== Changelog ==

= 1.1.0 =
* Rebranded to "CopyBlocker Pro - Content Protection".
* Completely redesigned Admin UI with a premium dark retro-futuristic theme.
* Added "Protection Status" dashboard with "Shield Power" indicator.
* Added Per-Post/Page metabox for content-specific protection overrides.
* Added "Custom Copy Text" feature to append copyright notices to clipboard.
* Added retro-styled Toast Notifications for frontend blocked actions.
* Refactored frontend JavaScript into a modular object-oriented structure.
* Improved security with nonce verification and data sanitization.
* Updated documentation and expanded help tooltips.

= 1.0.4 =
* Added new options to block print actions (Ctrl+P / Cmd+P) and image downloads/drag-to-download.
* Fixed enqueue condition to include all protection settings (block_print, block_image_download).
* Removed unused alert settings from frontend script.
* Added check to skip protections for logged-in users.
* Clarified screen capture limitations in documentation and settings.
* Fixed uninstall script to clean up all settings.
* Updated font references in admin CSS.
* Updated version to 1.0.4.

= 1.0.3 =
* Changed display name to "CopyBlocker for Content Protector" (slug remains `copyblocker-pro`).
* Removed `load_plugin_textdomain()` as per WordPress.org guidelines (WordPress 4.6+ handles translations).
* Added escaping to all echoed variables (e.g., `$status_message` in `includes/settings.php`) to prevent XSS.
* Updated readme with SEO-optimized description and keywords.
* Fixed "The link you followed has expired" error by simplifying nonce handling and securing redirects.
* Updated admin CSS with enhanced retro styling for settings settings-grid, tooltips, and buttons.

= 1.0.2 =
* Removed unnecessary `load_plugin_textdomain()` call.
* Escaped settings messages to prevent XSS.
* Improved settings logic and script handling.
* Fixed issues with unchecked options still applying.
* Added nonce verification for security compliance.
* Replaced raw SQL in `uninstall.php` with `get_sites()`.
* Scoped custom font to plugin settings page.

= 1.0.0 =
* Initial release with features to block selection, copy, paste, developer tools, and right-click.
* Retro-styled settings settings-grid with translation support.

== Upgrade Notice ==

= 1.1.0 =
Major upgrade! Rebranded to CopyBlocker Pro with a stunning new dark retro UI, per-post settings, custom copy messages, and toast notifications. Recommended for all users to enhance content security.

= 1.0.4 =
Added new options to block printing (Ctrl+P) and image downloads, improved reliability, clarified screen capture limitations, and removed unused alert settings.

= 1.0.3 =
Fixed nonce expiration bug and updated admin styles.

= 1.0.2 =
Improved security and settings logic; enhanced WordPress.org compliance.

= 1.0.0 =
Initial release of CopyBlocker Pro with core content protection features.