BlogTariff


Most of the bloggers first think about how to protect their content from the reproducers. In Online there is no such protect tools available but there are some script codes-html codes where you can protect content of your blog from the content thefts.
Even BlogTariff do the same thing but this blog represents social face for every respected readers and visitors to recognize and share their views.

Here lets start how to protect your valuable contents from the online thefts.

Script code to Disable right click without popup message on Blogger blog

Go to your blogger blog Dashboard -->
Click on Design Layout Tab -->
Click on Add a gadget (Page elements)
Select HTML/Java Script Widget
Paste the below Script code in that and Add gadget

<script language=JavaScript>
<!--
//Disable right mouse click Script - No alert
// http://www.blogtariff.com
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>

Script code to Disable right click with popup message on Blogger blog

<script language=JavaScript>
//Disable right mouse click Script
// http://www.blogtariff.com
var message="Content is protected!";
function clickIE4(){
if (event.button==2){alert(message);
return false;}}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){alert(message);
return false;}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>

Change the Popup message as per your word as highlighted in "Red color"
After successful Adding Gadget to your blog Save the template. Then preview to test how its working.
Author Note:
Share your valuable comments on this blog...we always respects your views.

Post a Comment Gmail ID

Do not Try to Add Spam Comments

 
Top