diff --git a/all-in-one-content-protection.php b/all-in-one-content-protection.php new file mode 100644 index 0000000..7014f6a --- /dev/null +++ b/all-in-one-content-protection.php @@ -0,0 +1,57 @@ + + document.addEventListener(\'contextmenu\', event => event.preventDefault()); + console.log("%cSTOP!", "color: red; font-size: 80px; font-weight:bolder;"); + console.log("%cThis website is protected by copyright laws!", "font-size: 20px; font-weight:bold;"); + console.log("%cCopying is strictly prohibited!", "font-size: 20px; font-weight:bold;"); + '; +} +add_action('wp_footer', 'add_custom_footer_script'); + +// Add custom CSS to the head +function add_custom_head_css() { + echo ''; +} +add_action('wp_head', 'add_custom_head_css'); \ No newline at end of file