Tuesday, December 6, 2011

PREVENT CONTENT THEFT! Disable Text Selection On Your Blogger Blog


Friends Here I Am Again WIth A New Tutorial To Prevent Copying/Content Theft from your blog!
Just Follow This Steps!


METHOD:
  • Go to EDIT HTML section of your blog
  • Place the below code in the <head> tag: <script language='JavaScript1.2' type='text/javascript'>
    //The functions disableselect() and reEnable() are used to return the status of events.
     function disableselect(e)
    {
    return false
    }
    function reEnable()
    {
    return true
    }

    //if IE4
    // disable text selection
    document.onselectstart=new Function (&quot;return false&quot;)

    //if NS6
    if (window.sidebar)
    {
    //document.onmousedown=disableselect
    // the above line creates issues in mozilla so keep it commented.
    document.onclick=reEnable
    }

    function clickIE()
    {
    if (document.all)
    {
    (message);
    return false;
    }
    }

    // disable right click
    document.oncontextmenu=new Function(&quot;return false&quot;)
     
    </script>

     
  • Now In The Same EDIT HTML section, press ctrl+f and look for body {
  • Now After The { Press Enter And Insert The Following line And Press Enter -moz-user-select: none;
  • Now Save Your Template


ENJOY!!!
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

0 comments:

Post a Comment