Kode Script Anti Copy dan klik kanan di blog
Terkadang diantara blogger ada yang tidak bersedia apabila artikel ataupun konten yang ada di situs web mereka untuk di copy paste dengan alasan tertentu.
Untuk melindungi konten blog yang di copy paste oleh orang lain, ada beberapa cara yang dapat dilakukan.
Kode Script Anti Copy dan klik kanan di blog
1. Memasang script anti klik kanan
Untuk memasang script anti klik kanan, caranya sangat mudah. Login ke akun blogger kemudianAdd a gadget pilih HTML/JavaScript pada menu Design dan copy paste script dibawah ini.
<script>
var pesen="Tidak diperbolehkan klik kanan oleh admin!";
///////////////////////////////////
function clickIE4(){if (event.button==2){alert(pesen);return false;}}
function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(pesen);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(pesen);return false")
</script>
*kalimat yang diberi tanda warna merah bisa diganti
Kelebihan script anti klik kanan :
Script dapat dieksekusi oleh sebagian besar internet browser.
Script akan bekerja saat mouse melakukan aktifitas klik kanan pada semua area blog, jadi tidak hanya area postingan saja.
Kekurangan script anti klik kanan :
Pada browser versi baru, script dapat ditembus setelah melakukan refresh dan melakukan klik kanan secara berulang-ulang.
Dikarenakan script akan bekerja pada semua area blog, ada kemungkinan pesan yang muncul akan menganggu kenyamanan pengunjung blog, apalagi blog yang bertema Tutorial.
Cara Pasang Script Anti Klik Kanan pada Blog
2. Memasang script disable klik kanan, blok dan copas
Perbedaan script disable klik kanan dari script anti klik kanan adalah disable blok pada artikel atau menandai artikel, paragraf, kalimat maupun kata. jadi mouse tidak akan dapat melakukan copyCTRL+C dan paste CTRL+V konten artikel yang terdapat dalam blog karena mouse tidak diijinkan melakukan blok baik dengan klik kanan maupun 3x klik kiri.
Untuk memasang script disable klik kanan caranya tidak sulit. Login ke akun blogger kemudian klik Edit HTML pada menu Design.
Lalu cari kode <body> dalam menu Edit Template dan hapus kode <body> kemudian gantikan dengan script berikut.
<body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;'>
Script diatas akan menonaktifkan klik kanan pada semua area <body>, sedangkan area diluar <body> tidak akan terpengaruh.
As the sun dipped below the horizon, painting the sky in hues of orange and pink, a gentle breeze swept through the meadow, causing the tall grass to sway in unison. The distant call of a lone owl echoed through the stillness of the evening, adding a sense of mystery to the tranquil scene. Fireflies flickered in the gathering dusk, their soft glow creating a magical atmosphere as they danced among the wildflowers. Nearby, a small stream trickled over smooth stones, its gentle babble providing a soothing soundtrack to the symphony of nature. In this moment of quiet serenity, time seemed to stand still, inviting contemplation and reflection under the vast expanse of the starlit sky.来购酷买
BalasHapusIn the heart of a coastal town, waves crashed against weathered cliffs, their rhythmic cadence echoing through the salty air. Seagulls circled overhead, their calls blending with the distant laughter of children playing on the sandy shores. A charming lighthouse stood sentinel at the edge of the harbor, its beacon casting a warm glow across the water as fishing boats returned with their daily catch. The aroma of freshly baked bread wafted from a seaside bakery, enticing locals and visitors alike. Narrow cobblestone streets wound their way through the historic district, lined with colorful cottages adorned with blooming bougainvillea. With each step, the town unveiled a blend of maritime history and modern coastal charm, creating a tapestry of moments to be cherished by those fortunate enough to explore its coastal allure.quitt.nett
BalasHapusIn the heart of an undiscovered valley, surrounded by majestic mountains, a crystal-clear river meandered through emerald-green meadows. Towering trees, their branches forming a natural cathedral, whispered secrets to the rustling leaves carried by a gentle breeze. The air was filled with the sweet fragrance of wildflowers, and the distant chirping of crickets created a harmonious melody. Sunbeams filtered through the lush canopy, illuminating hidden nooks where colorful butterflies danced in a delicate ballet. As the day unfolded, the valley revealed its untamed beauty, inviting those who ventured into its depths to be embraced by the tranquility of unspoiled nature.fapeza
BalasHapus
BalasHapusDie Cutting Machine
Thermal Lamination Machine
panda555 สล็อต แจกเครดิตฟรี ความมุ่งมั่นที่จะให้คุณมีประสบการณ์การเล่นที่น่าทึ่งและไม่เหมือนใคร pg ด้วยเกมที่มีคุณภาพและความคลาสสิค รวมทั้งการแจกเครดิตฟรีและโปรโมชั่นที่น่าตื่นเต้น
BalasHapusgreat blog for sharing
BalasHapusThank for the blog it is well written and i love it the way you have presented it in online so, When considering EV Charger Dubai , Electric cars provide instant torque, resulting in quick acceleration and a smooth driving experience. The quiet operation of EVs enhances driving comfort, contributing to a more enjoyable and less stressful driving experience.
BalasHapusThank for the blog it is well written and i love it the way you have presented it in online so, When considering Best light fittings suppliers in dubai, From architectural lighting that highlights the city's iconic buildings to energy-efficient street lighting, Dubai embraces innovation and sustainability. Our smart lighting systems enhance safety and aesthetics, making every corner of the city vibrant and secure. Illuminate your spaces with the best in Dubai's lighting technology.
BalasHapusYou make a really good point about blogs being public. Nice Blog With Full of Knowledge Thanks For Sharing.. Keep it up
BalasHapusAdobe GenP
thanks for sharing valuable info. techwriteforus
BalasHapusdigital marketing can be a sources of valuable information for brands. Bangalore digital marketing
BalasHapusThis is one of the top digital marketing institute in bangalore , which gives 100% placements and best coaching, gives you the indepth knowledge of online marketing
BalasHapusVisit Banglore Digital Marketing!
www.divinesahajyog.com sahajyog kundalini awakening
BalasHapusMEDITATION KUNDALINI AWAKEING
BalasHapushttps://ffilmizle.org
BalasHapus