How to Disable Copy Paste Option in a Blog Post in hindi
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
इस code को Copy करके अपने blogger का layout section मई जा के add gadget मई click करके HTML JAVA पर इस code को paste करने के बाद आपका blogger मई Copy Paste option Disable हो जायेगा |
rajput status

Comments
Post a Comment