Plugin Directory

Changeset 144620


Ignore:
Timestamp:
08/11/2009 12:13:02 AM (17 years ago)
Author:
afperea
Message:
 
Location:
wp-copyrightpro
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-copyrightpro/trunk/index.php

    r144240 r144620  
    44      Plugin URI: http://puydi.net/blog/wp-copyrightpro-plug-in-para-wordpress/
    55      Description: WP-CopyRightPro is a plug-in that prevents the copying of texts and images from your blog.
    6       Version: 1.0
     6      Version: 1.1
    77      Author: Andres Felipe Perea V
    88      Author URI: http://puydi.net/
  • wp-copyrightpro/trunk/readme.txt

    r144276 r144620  
    55Requires at least: 2.7
    66Tested up to: 2.8.3
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88
    99If you install WP-CopyRightPro, your content of wordpress will be protected.
  • wp-copyrightpro/trunk/script.htm

    r144240 r144620  
    1717// End -->
    1818</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
     21document.onselectstart=function(){
     22if (event.srcElement.type != "text" && event.srcElement.type != "textarea" && event.srcElement.type != "password")
     23return false
     24else return true;
     25};
     26// FIREFOX Evitar seleccion de texto
     27if (window.sidebar){
     28document.onmousedown=function(e){
     29var obj=e.target;
     30if (obj.tagName.toUpperCase() == "INPUT" || obj.tagName.toUpperCase() == "TEXTAREA" || obj.tagName.toUpperCase() == "PASSWORD")
     31return true;
     32/*else if (obj.tagName=="BUTTON"){
     33return true;
     34}*/
     35else
     36return false;
    3237}
     38}
     39// End -->
    3340</script>
Note: See TracChangeset for help on using the changeset viewer.