{"id":357855,"date":"2026-08-26T06:13:47","date_gmt":"2026-08-26T06:13:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/website-anti-copying-prohibit-right-click-and-f12\/"},"modified":"2026-08-26T06:13:21","modified_gmt":"2026-08-26T06:13:21","slug":"xiaochen-content-copy-controls","status":"publish","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/xiaochen-content-copy-controls\/","author":20421663,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6","stable_tag":"1.6","tested":"7.1","requires":"4.7","requires_php":"7.0","requires_plugins":null,"header_name":"Xiaochen Content Copy Controls","header_author":"ts\u5c0f\u9648","header_description":"Disable right-click, F12 and copy, with optional copy reminder.","assets_banners_color":"7990ab","last_updated":"2026-08-26 06:13:21","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.kqwq.com\/wordpress\/plugins\/1881.html","header_plugin_uri":"https:\/\/www.kqwq.com\/wordpress\/plugins\/1881.html","header_author_uri":"https:\/\/www.kqwq.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":43,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.6":{"tag":"1.6","author":"tsxcc","date":"2026-08-26 06:13:21"}},"upgrade_notice":{"1.6":"<p>1.6 renames the plugin to &quot;Xiaochen Content Copy Controls&quot; (new slug xiaochen-content-copy-controls) and moves the settings page scripts into an enqueued file. Please deactivate and reactivate the plugin once after updating.<\/p>","1.5":"<p>1.5 converts the interface strings to English (per WordPress.org requirements) with a built-in Simplified Chinese translation, and renames the main plugin file. After updating, please deactivate and reactivate the plugin once.<\/p>","1.4":"<p>1.4 removes the external update checker and the tracking code, and adds i18n and security hardening. Please update.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3666337,"resolution":"128x128","location":"assets","locale":"","width":2000,"height":2000},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3666337,"resolution":"256x256","location":"assets","locale":"","width":2000,"height":2000}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3666337,"resolution":"772x250","location":"assets","locale":"","width":2000,"height":648}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.6"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"The plugin settings page (admin menu \"Right-click Settings\").","2":"An example of the copy reminder popup."}},"plugin_section":[],"plugin_tags":[181673,19832,20440,249901,600],"plugin_category":[54],"plugin_contributors":[273748],"plugin_business_model":[],"class_list":["post-357855","plugin","type-plugin","status-publish","hentry","plugin_tags-anti-copy","plugin_tags-copy-protection","plugin_tags-disable-right-click","plugin_tags-f12","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-tsxcc","plugin_committers-tsxcc"],"banners":{"banner":"https:\/\/ps.w.org\/xiaochen-content-copy-controls\/assets\/banner-772x250.png?rev=3666337","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/xiaochen-content-copy-controls\/assets\/icon-128x128.png?rev=3666337","icon_2x":"https:\/\/ps.w.org\/xiaochen-content-copy-controls\/assets\/icon-256x256.png?rev=3666337","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Xiaochen Content Copy Controls is a lightweight content-protection plugin that prevents visitors from copying your page content via right-click, F12 (DevTools) or the copy action.<\/p>\n\n<h4>Main features<\/h4>\n\n<ul>\n<li><strong>Block F12 \/ DevTools<\/strong>: blocks visitors who press F12 or open DevTools, with an optional custom redirect URL.<\/li>\n<li><strong>Block right-click (copy &amp; select)<\/strong>: disables the context menu, text selection and copying.<\/li>\n<li><strong>Copy reminder<\/strong>: shows a custom reminder popup when visitors copy, with three popup styles (native alert, SweetAlert, layer).<\/li>\n<li><strong>Customizable reminder text<\/strong>: set your own popup message. Default: \"Successfully copied! Feel free to repost - your repost is my greatest recognition!\"<\/li>\n<li><strong>Zero configuration<\/strong>: works immediately after saving the settings; no external services are used.<\/li>\n<\/ul>\n\n<h4>Important notes<\/h4>\n\n<ul>\n<li>\"Block right-click\" and \"Copy reminder\" are mutually exclusive - only one of them can be enabled at a time (the plugin handles this automatically on save).<\/li>\n<li>This plugin only stops ordinary users from copying. It cannot prevent advanced methods such as viewing page source or disabling JavaScript. Do not treat it as absolute content protection.<\/li>\n<\/ul>\n\n<h4>Credits<\/h4>\n\n<p>Xiaochen Content Copy Controls was originally created and is maintained by ts\u5c0f\u9648 (www.kqwq.com). The DevTools blocker is based on the open-source ConsoleBan (console-ban v2.1.0, MIT License).<\/p>\n\n<!--section=installation-->\n<h4>How to install<\/h4>\n\n<ol>\n<li>Upload the plugin zip via \"Plugins &gt; Add New &gt; Upload Plugin\" in your WordPress admin, then activate it. Alternatively, extract the zip to the <code>wp-content\/plugins\/<\/code> directory and activate it from the \"Plugins\" menu.<\/li>\n<li>After activation, find the \"Right-click Settings\" menu item in the admin sidebar and open the settings page.<\/li>\n<\/ol>\n\n<h4>Settings guide<\/h4>\n\n<ol>\n<li><strong>Block Modes<\/strong>:\n\n<ul>\n<li>Enable \"Block F12 \/ DevTools\": blocks visitors who press F12 or open DevTools, with an optional redirect URL.<\/li>\n<li>Enable \"Block right-click (copy &amp; select)\": disables the context menu, text selection and copying.<\/li>\n<\/ul><\/li>\n<li><strong>DevTools Redirect URL<\/strong> (shown when F12 blocking is enabled): the URL visitors are redirected to when they open DevTools. Leave empty to disable the redirect.<\/li>\n<li><strong>Copy reminder<\/strong>: enable it to show a reminder popup when visitors copy.<\/li>\n<li><strong>Popup Style<\/strong>: choose one of three styles (Style 1: native alert; Style 2: SweetAlert; Style 3: layer).<\/li>\n<li><strong>Copy Reminder Text<\/strong>: customize the popup message.<\/li>\n<li>Click \"Save Settings\" - everything takes effect on the front end immediately.<\/li>\n<\/ol>\n\n<p>For more tutorials, visit the plugin homepage: https:\/\/www.kqwq.com\/wordpress\/plugins\/1881.html<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20%22block%20right-click%22%20and%20%22copy%20reminder%22%20be%20enabled%20at%20the%20same%20time%3F\"><h3>Can \"Block right-click\" and \"Copy reminder\" be enabled at the same time?<\/h3><\/dt>\n<dd><p>No. They are mutually exclusive because the copy reminder needs to listen to the copy event, while blocking right-click intercepts it. The plugin disables one of them automatically when you save.<\/p><\/dd>\n<dt id=\"why%20does%20the%20f12%20redirect%20not%20happen%20in%20some%20browsers%3F\"><h3>Why does the F12 redirect not happen in some browsers?<\/h3><\/dt>\n<dd><p>The legacy DevTools detection relies on browser quirks that newer browsers (e.g. Chrome 93+) have patched. The plugin also hooks the keyboard directly, so pressing F12 \/ Ctrl+Shift+I(J,C) triggers the redirect immediately in modern browsers. Note that a web page cannot fully prevent the browser from opening DevTools.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20affect%20loading%20speed%20or%20seo%3F\"><h3>Does the plugin affect loading speed or SEO?<\/h3><\/dt>\n<dd><p>Almost not. It only outputs a small inline script and one JS file (console-ban.js, about 3KB) on the front end, with no external CDN or remote requests.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20mobile%20devices%3F\"><h3>Is it compatible with mobile devices?<\/h3><\/dt>\n<dd><p>Yes. Long-press selection and copying are also intercepted on mobile (depending on the enabled mode).<\/p><\/dd>\n<dt id=\"can%20administrators%20be%20exempted%3F\"><h3>Can administrators be exempted?<\/h3><\/dt>\n<dd><p>The current version does not include a role-based exemption. The plugin only affects the front end for visitors and never interferes with admin actions.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Plugin renamed to \"Xiaochen Content Copy Controls\" (slug: xiaochen-content-copy-controls) to make the name distinctive, per the plugin review guidelines.<\/li>\n<li>Text domain updated to xiaochen-content-copy-controls.<\/li>\n<li>Settings page scripts moved into an enqueued admin.js (wp_enqueue_script + wp_localize_script); no more inline  tags.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>All interface strings are now English source strings (required by WordPress.org); Chinese sites display Chinese automatically via the built-in Simplified Chinese language pack.<\/li>\n<li>Plugin renamed to \"Xiaochen Content Copy Controls\" with the slug xiaochen-content-copy-controls.<\/li>\n<li>Main file renamed to xiaochen-content-copy-controls.php (settings page renamed accordingly).<\/li>\n<li>Fixed the plugin description translation on the plugins list page for Chinese sites.<\/li>\n<li>Settings page upgraded to \"Settings \/ Help\" tabs with a flat colorful design (custom styles, layui removed).<\/li>\n<li>F12 blocking now uses reliable keyboard-level interception with an optional redirect; the DevTools redirect URL is shown as a matched setting when F12 blocking is enabled.<\/li>\n<li>The mutual-exclusion notice now uses a custom toast instead of the native alert.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Removed the external plugin update checker (plugin-updates); updates now come from the official WordPress.org repository.<\/li>\n<li>Removed the obfuscated tracking code (my-tracker.php).<\/li>\n<li>Added full i18n support with a bundled Simplified Chinese language pack (languages\/).<\/li>\n<li>Hardened the admin area: nonce checks, input sanitization and escaping, manage_options capability.<\/li>\n<li>Removed external CDN (BootCDN) jQuery and remote ad scripts; the bundled WordPress jQuery is used instead.<\/li>\n<li>Added a \"Usage Help\" panel and an admin Help tab to the settings page.<\/li>\n<li>The version shown on the settings page is now read from the plugin header.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added copy reminder styles 2 (SweetAlert) and 3 (layer) with customizable reminder text.<\/li>\n<li>Fixed the mutual-exclusion logic between the copy reminder and right-click blocking.<\/li>\n<\/ul>","raw_excerpt":"Disable right-click, F12 (DevTools) and copy on your site, with an optional custom copy reminder.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/357855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=357855"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tsxcc"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=357855"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=357855"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=357855"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=357855"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=357855"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=357855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}