If you have quality content on your webpage and want to prevent people stealing your resources, you can add this script to disable the right-mouse click. This does not assure complete safety for your resources (there is always a way to copy them), but it is better than nothing.
Sign in to your Blogger Dashboard -> Click on the Layout -> Add a Page Element -> Html/Javascript -> Paste the code below and Save the changes.
<SCRIPT language=JavaScript>
<!-- http://www.spacegun.co.uk -->
var message = "function disabled";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which== 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {alert(message); return false; } }
document.onmousedown = rtclickcheck;
</SCRIPT>
Now your page content is safe from piracy. Happy Blogging!
Posted by Samuel © ScienceZen All Rights Reserved
5 comments:
That's just disabling right-click to the copy function. That won't stop them from highlighting and press CTRL+C to CTRL+V. Content theft is a serious issue though.
nice post.. man.
keep blogging ^^
nice blog dude... I followed you, hope u do same on my blog gurusmaker.blogspot.com or eobasi.blogspot.com
Hmm, Abdul that's true but at least that is a start to copyright protection. Don't u think so?
Obasi, i've followed ur blog
Post a Comment