Changeset 1021910
- Timestamp:
- 11/08/2014 08:53:49 AM (11 years ago)
- Location:
- wp-copy-protect/trunk
- Files:
-
- 3 edited
-
index.php (modified) (1 diff)
-
lib/wp-copy-protect.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-copy-protect/trunk/index.php
r959190 r1021910 3 3 * Plugin Name: WP Copy Protect 4 4 * Plugin URI: http://www.rapiditcare.com 5 * Description: This plugin s protect your site from copy your content and will disable the text selecting options for yourprivacy.6 * Version: 1. 45 * Description: This plugin protect your site from copy your content and will disable the text selecting and Right click options for your Content privacy. 6 * Version: 1.5 7 7 * Author: Sazzad Areafin 8 8 * Author URI: http://www.rapiditcare.com -
wp-copy-protect/trunk/lib/wp-copy-protect.php
r947024 r1021910 1 <?php 2 3 4 5 6 function wp_copy_protect(){ 7 ?> 8 <!--WP Copy Protect Plugins--> 9 <style type="text/css">body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style> 10 11 12 <script type="text/javascript"> 13 14 jQuery(document).bind("keydown", function(e) { 15 16 if(e.ctrlKey && (e.which == 65 || e.which == 67 || e.which == 88 || e.which == 83 ||e.which == 85)) { 17 18 e.preventDefault(); 19 20 return false; 21 22 } 23 24 }); 25 26 jQuery(document).on( "mousedown", function(event) { 27 28 if(event.which=="3") 29 30 { 31 32 document.oncontextmenu = document.body.oncontextmenu = function() {return false;} 33 34 } 35 36 }); 37 38 </script> 39 <?php 40 } 41 42 43 44 45 1 <?php function wp_copy_protect(){ ?> <!--WP Copy Protect Plugins By www.rapiditcare.com --> <style type="text/css">body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}</style> <script type="text/javascript"> jQuery(document).bind("keydown", function(e) { if(e.ctrlKey && (e.which == 65 || e.which == 67 || e.which == 88 || e.which == 83 ||e.which == 85)) { e.preventDefault(); return false; } }); jQuery(document)on( "mousedown", function(event) { if(event.which=="3") { document.oncontextmenu = document.body.oncontextmenu = function() {return false;} } }); </script> <script language=JavaScript> function clickIE4(){ if (event.button==2){ return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("return false") </script> <?php } add_action('wp_head', 'wp_copy_protect'); -
wp-copy-protect/trunk/readme.txt
r959197 r1021910 1 1 === WP Copy Protect === 2 2 Contributors: areafin5 3 Tags: Protect, Copy Protect, Disable text selecting, WordPress copy protect3 Tags: WP Copy Protect, WordPress copy protect, Protect your wordpress site, Copy Protect, Disable text selecting 4 4 Donate link: http://www.rapiditcare.com/donate 5 5 Requires at least: 3.1 6 Tested up to: 3.9.17 Stable tag: Version: 1. 46 Tested up to: 4.0 7 Stable tag: Version: 1.5 8 8 License: GPL 2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Screenshots == 76 1. Copy protected WordPress 76 1. Copy protected WordPress Blog/ website:: Just active and enjoy. 77 77 78 78 == Changelog == 79 = Version 1.5 = 80 * WordPress 4.0 Support added. 81 * Tested for WordPress 4.0 82 79 83 = Version 1.4 = 80 84 * Documentation updated for usability.
Note: See TracChangeset
for help on using the changeset viewer.