=== Content Protection ===
Contributors: snehalpancholi
Tags: content protection, disable right click, no copy, image protection, text selection
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Deter content theft by disabling right-click, text selection, and image dragging on the frontend.

== Description ==

Content Protection adds JavaScript-based deterrents to stop casual content copying. You can independently enable or disable right-click blocking (with an optional alert message), text selection prevention, and image drag-and-drop blocking. Apply protections only to guests and limit to specific post types.

**Important:** These are deterrents, not absolute protection. A determined user can still access content via browser dev tools or source view.

**Features:**

* Disable right-click context menu (with optional alert message)
* Disable text selection via CSS and JS
* Disable image drag-and-drop (`draggable="false"`)
* Skip logged-in users (recommended)
* Scoped to specific public post types
* No jQuery — vanilla JavaScript only

== Installation ==

1. Upload the `content-protection` folder to `/wp-content/plugins/`.
2. Activate through **Plugins**.
3. Go to **Settings → Content Protection** to configure.

== Frequently Asked Questions ==

= Does this work on mobile? =
Right-click and drag blocking do not apply on touch devices (no right-click). Text selection blocking works across all devices.

= Should I enable text selection blocking? =
Be careful — it makes your site harder to use for legitimate visitors (e.g., copying a URL or name). Use sparingly.

== Changelog ==

= 1.0.0 =
* Initial release.
