primary school sangasar

ta: Dholera, dist: Ahmedabad, C.R.C: Hebatpur

In this blog

December 7, 2013

How To Stop Right Click And Word Select On Blog

 shu tame blog ma right click ane word select band karva mango chho ?
tamari post ne nakal thi bachaavavaa mango chho ?



sign in to blogger

Daipt  andshboard > Layout > Aad a Gadget > HTML/Javascript
add this code

<!--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:

Best Viewed in Internet Explorer 7 or above, Google Chrome,Operamini,Uc browser and FireFox 3.5 or above browsers.