Changeset 144620
- Timestamp:
- 08/11/2009 12:13:02 AM (17 years ago)
- Location:
- wp-copyrightpro
- Files:
-
- 5 added
- 3 edited
-
tags/1.1 (added)
-
tags/1.1/index.php (added)
-
tags/1.1/readme.txt (added)
-
tags/1.1/screenshot-1.jpg (added)
-
tags/1.1/script.htm (added)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/script.htm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-copyrightpro/trunk/index.php
r144240 r144620 4 4 Plugin URI: http://puydi.net/blog/wp-copyrightpro-plug-in-para-wordpress/ 5 5 Description: WP-CopyRightPro is a plug-in that prevents the copying of texts and images from your blog. 6 Version: 1. 06 Version: 1.1 7 7 Author: Andres Felipe Perea V 8 8 Author URI: http://puydi.net/ -
wp-copyrightpro/trunk/readme.txt
r144276 r144620 5 5 Requires at least: 2.7 6 6 Tested up to: 2.8.3 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 9 9 If you install WP-CopyRightPro, your content of wordpress will be protected. -
wp-copyrightpro/trunk/script.htm
r144240 r144620 17 17 // End --> 18 18 </script> 19 <script language="Javascript"> 20 // Internet Explorer 21 window.onload = function() 22 { 23 document.onselectstart = function() 24 { 25 return false; 26 } 27 // Firefox 28 document.onmousedown = function() 29 { 30 return false; 31 } 19 <script type="text/javascript"> 20 // IE Evitar seleccion de texto 21 document.onselectstart=function(){ 22 if (event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type != "password") 23 return false 24 else return true; 25 }; 26 // FIREFOX Evitar seleccion de texto 27 if (window.sidebar){ 28 document.onmousedown=function(e){ 29 var obj=e.target; 30 if (obj.tagName.toUpperCase() == "INPUT" || obj.tagName.toUpperCase() == "TEXTAREA" || obj.tagName.toUpperCase() == "PASSWORD") 31 return true; 32 /*else if (obj.tagName=="BUTTON"){ 33 return true; 34 }*/ 35 else 36 return false; 32 37 } 38 } 39 // End --> 33 40 </script>
Note: See TracChangeset
for help on using the changeset viewer.