Hello blogger friends who I respect, this time I will share tricks of the most potent who I have ever had! You would certainly know about the hijackers? If not, pirates are a person who did, possess, steal something illegal by not considering permission from the owner.
Now the discussion for this time, I will lead to a Markup Language ", that is programming language." You feel upset if someone has taken, to steal our ideas. Of course, something that we have with anyone bother to steal it turns out, really is outrageous. There are many cases on the blog articles in the copy-paste, the template was hijacked, or theft that results from the overall blog though.
One example that I observe this month is a fellow blogger who is located http://ruangsc.blogspot.com I have nothing to steal everything on what he had in bloggers, including the interior of the meta-tag it as to who was most valuable for determine to what extent the blog evolved. So that it does not happen again I recommend the buddy to take reasonable precautions which I mention later!
Here is the Prevention code,
<script type="text/javascript">Save the script above, under the code <head>
var message="Maaf, Klik Kanan Saat Ini Saya Disable";
///////////////////////////////////
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")
if (typeof document.onselectstart!="undefined") {
document.onselectstart=new Function ("return false");
}
else{
document.onmousedown=new Function ("return false");
document.onmouseup=new Function ("return true");
}
var isnn,isie
if(navigator.appName=='Microsoft Internet Explorer') //check the browser
{ isie=true }
if(navigator.appName=='Netscape')
{ isnn=true }
function right(e) //to trap right click button
{
if (isnn && (e.which == 3 || e.which == 2 ))
return false;
else if (isie && (event.button == 2 || event.button == 3))
{
alert("Maaf, klik kanan tidak di izinkan! Gunakan klik tengah");
return false;
}
return true;
}
function key(k)
{
if(isie) {
if(event.keyCode==17 || event.keyCode==18 || event.keyCode==93) {
alert("Maaf, kami mendeteksi anda sedang membajak")
return false;
}
}
if(isnn){
alert("MAAF!!, DISINI PEMBAJAK DILARANG MEMENCET TOMBOL KEYBOARD")
return false; }
}
if (document.layers) window.captureEvents(Event.KEYPRESS);
document.onkeydown=key;
</script>
For a green color may you edit!
The above script can also be modified so that its functions be different! yes but be careful to edit it!
Well, now I can assure the hijackers were not going to move freely, why?
See the benefits of the code is the following:
- Anti Right Click
- Anti Return Key
- Anti Enter Key
- Anti Block Text
- Anti Numeric Key
- Anti Alpanumeric Key
- Anti Key Combination
- Anti Function Key
- Anti Ctrl + Alt Key
- Anti Power Key
- Anti Sleep Key
- Anti WakeUp Key
- Anti Home Key
- Anti Insert Key
- Anti Tab Key
- Anti Capslock Key
- Anti Shift Key
But still have much, this is not possible 100% anti-piracy! Because technology is becoming more sophisticated and will make the hijackers would not be clueless!
Easy - I hope the script above is useful!