
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> // Pesan saat klik kanan const message = "Maaf, klik kanan telah dinonaktifkan."; // Nonaktifkan klik kanan document.addEventListener("contextmenu", function (e) { alert(message); e.preventDefault(); }); // Nonaktifkan kombinasi keyboard tertentu document.addEventListener("keydown", function (e) { if ( e.ctrlKey && ['u', 's', 'c'].includes(e.key.toLowerCase()) || // Ctrl+U, Ctrl+S, Ctrl+C e.keyCode === 123 || // F12 (e.ctrlKey && e.shiftKey && ['i', 'j'].includes(e.key.toLowerCase())) // DevTools ) { alert("Akses shortcut ini dibatasi."); e.preventDefault(); } }); // Nonaktifkan pemilihan teks dan drag document.addEventListener("selectstart", e => e.preventDefault()); document.addEventListener("dragstart", e => e.preventDefault()); </script>Save the script above, under the code <head>
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!
25 komentar
"The entity name must immediately follow the '&' in the entity reference."
tolong bos
through great post.Thanks
car games
through great post.Thanks
through great post.Thanks
Your provided information will be useful for me. It is really beneficial read for me and I increased my knowledge after read your post.
Thanks for posting this nice blog.
Terima kasih infonya
oke dwedh ntar ad versi keduanya.... lagi nge-hack lagi....he,,,he,,
Tapi kasihan juga Om, samapi sampai enter aja nggak boleh. Wkwkwkw
Nice trik Om !!
terima kasih sobat
=))