25 August 2012

Tutorial ClassicTemplate/Blogskin : Disable Right Click

ุงู„ุณّู„ุง ู… ุนู„ูŠฺฉู… ูˆุฑุญู…ุฉุงู„ู„ู‡ ูˆุจุฑฺฉุฉ | Salam Sejahtera :)

Selalunya orang guna benda ni untuk mengelakkan orang copy anythings from their blog lah. So, diorang tak bagi orang right click. Tapi, kalau blog yang ada freebies, tutorial tu tak digalakkan pasang benda ni :p

1.Dahsboard > Template > Edit HTML
2.Tekan Ctrl+f serentak dan cari code ni
3.Copy code di bawah.
<script language=JavaScript>
<!--//Disable right mouse click Script
//By Dynamicdrive (renigade@nsimail.com)
//For full source code, visit http://www.dynamicdrive.com
var message="";
function clickIE4(){
if (event.button==2){return false;}}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){return false;}}}
if (document.layers){document.captureEvents(Event.MOUSEDOWN);
else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}
document.oncontextmenu=new Function("return false")// -->
4.Pastekan di bawah code <head>
5.Preview & save.
author image


Hi! I'm the writer and author of this webpage. Currently studying in SM Sains Kubang Pasu or know as KUPSIS in Kedah. A Kedahan girl for sure! 2017 is my senior year there and I'm fighting to 9A+ in SPM. Do pray the good result for me and others 1317 warriors. Thank you for your time :)


Budi Bahasa Budaya Kita