Step 1.Go To Layout
Step 2.Add Page Element
Step 3.Add HTML/JavaScript AND Copy This Below Content And Paste In HTML/JavaScript
<script type="text/javascript">
//Prevent Copying Content From Blogger/Blogspot
//For full source code, visit http://bloggerstrade.blogspot.com
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>
Step 4.Save The Templates And Its Done.
Share this post :
|
|



8 Comments
Thank you man... It works...
thanks a lot.
useful post ! thank you so much !
Thank you very much for sharing....
It really works well...
It works but if I select all (Ctrl-A) and copy (Ctrl-C) I can still copy the content.
@ Laura Its Working Fine Please Update Your Browser
wao awsome i like it i apply it to my website. thanks for sharing this.
Useful post.