Website developers, owners or bloggers spends a lot of time for getting recognition in web world. They really work very hard. Some of the bloggers who are not full time bloggers work till late night to achieve the results may be for money /social connectivity or mental satisfaction. Sometimes when you crawl on some website you find later that someone has stolen your articles as their own. What to do then? This is the most difficult situation for bloggers.How to stop spologgers from stealing your content. I will give you some tricks or hacks in the form of HTML scripts wherein you can add them into your html code. Then you can add security to your website or blog to a greater extent. You can refrain them copying your material using right click of the mouse. Avoid them downloading the images and much more.Login to your account and Go to Template>Edit HTML and click on "Expand widget templates" .Take the backup of your HTML code before working out the hack. You can use the script below so that when someone right clicks to save an image, a message will come up saying that your information is copyrighted.
Copy and paste the following code, and make sure it comes right after your <HEAD> tag:
<script language="JavaScript">
// distributed by http://techno-globe.blogspot.com <!-- var popup="Sorry !, the right-click
is disabled.\n\nThis Site is Copyright Protected ©2008"; function noway(go) { if
(document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers)
{ if (go.which == 3) { alert(popup); return false; } } } if (document.layers)
{ document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // -->
</script>
Script For "NO RIGHT CLICK" for Source.
You can protect your whole page along with images from right clicking. You just need to put the script below within the head tags of your html.But it has one limitation that it only works for netscape and IE.I am working to figure out how to do in mozilla as well. Once done I will update the post.
<script language="JavaScript1.1">
// distributed by http://techno-globe.blogspot.com <!-- var debug = true; function
right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 e.which
== 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer'
&& (event.button == 2 event.button == 3)) { alert('This Page is fully
protected!'); return false; } return true; } document.onmousedown=right; if (document.layers)
window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script>
Script to Disable Copy and Paste
This is the most beautiful hack and even I had incorporated the same in my website.to achieve this you just nee to add the following html code to your BODY tag: <body>
Here is how your BODY tag may look once implimented:
<body bgcolor="#FFFFFF" ondragstart="return false" onselectstart="return false">
Post a Comment