Saturday, December 8, 2012

Disable Copyright With Alert Message


Assalamualaikumwarahmatullahiwabarakatuh .
Hello world. Welcome again to my private story. I am welcoming you to read my story. I  love to share my story here neither it was sad or happy story. Hope you will enjoy yourself read all the story of mine. Do leave your comments at my shoutbox .


Asha nak ajar korang macam mana nak buat disable copyright with alert. Supaya orang yang gatal nak copy tuh terkejut beruk sampai tercekik mouse. ehh? :D


 Dashboard > Template > Edit Template HTML
 Tekan CTRL+F serentak
 Cari </head> dalam kotak search
 Copy code yang Asha bagi ni dan pastekan kat BAWAH code </head>
<script language=JavaScript><!--
//edit by unwanted

var message="Masukkan Ayat Korang";
///////////////////////////////////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>

 Tekan PREVIEW dan kalau dah jadi , boleh terus SAVE.

NOTA

ABC : Masukkan ayat yang korang nak. Contohnya, Maaf , tak boleh copy. 




Try tengok kat blog korang , menjadi tak ?
Haa senang kan ? Mudah sangat2 tau . Dah pandai guna , pandai lah credit kat Asha ye?

Big thanks to all readers. 

Sincerely , Asha :)