Menu
 


 
We hate when someone copy our work, by Copying others content and ideas. 
What can be nastiest than that ??

For Protecting our blog's content from copyright the easiest way is to disable 
mouse selection on our blogs by which no one can copy the text and images, 
we can make it possible by using small JavaScript code which will 
disable mouse selection on blog.
I hope it will helpful to you. watch and Enjoy.

 How To Disable Mouse Selection On Blogger in Urdu Lesson 13 from Muhammad Danish on Vimeo.

JavaScript Code For Disabling Mouse Selection which is highlighted in purple color.

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

 

In this Tutorial we can disable mouse selection in blogger, This script is working on all major browser which support JavaScript.
Don't forget to share this Urdu Blogger Tutorial with your friends.
Regard: Mirza Danish Baig

Post a Comment Blogger

Thanks for comment us.

 
Top