Knowing the content of our blog copied by other bloggers, of course will make us feel irritated. The article we have painstakingly created, simply copied by others without giving credit link to our blog. So, how to keep our blog content wont be copied by anyone else?
Actually there are many ways to solve our content stolen, one of which is by using a script. The script in question here is the javascript code that works lethal right-click. That way, readers who visit our blog will find it difficult or even can not copy our articles easily.
following, how to install the anti theft script.
- Login to Your Blogger Account
- Go To Template editor
- Find this code </head> and put this code bellow , above code </head>
<script type='text/javascript'>function disableSelection(target){if (typeof target.onselectstart!="undefined") //IE routetarget.onselectstart=function(){return false}else if (typeof target.style.MozUserSelect!="undefined") //Firefox routetarget.style.MozUserSelect="none"else //All other route (ie: Opera)target.onmousedown=function(){return false}target.style.cursor = "default"}</script>
- Find code <body>, and replace with this code bellow
<body oncontextmenu='return false;'><script type='text/javascript'>disableSelection(document.body);</script>
- Click save template
- Finish
0 comments:
Post a Comment