Sunday, 26 January 2014

HOW TO STOP RIGHT CLICK AND WORD SELECT ON BLOG

Dashboard > Layout > Aad a Gadget > HTML/Javascript 

<!--MBW Code -->
    <!--mybloggersworld.com-->
    <script language="JavaScript1.2">
    function disableselect(e){
    return false
    }
    function reEnable(){
    return true
    }
    document.onselectstart=new Function ("return false")
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>

No comments:

Post a Comment