Anti Copycats
meerza nk tanye korang satu soalan ..
Korang suke copycat x ??
of coz lah x , kan ??
siape yg suke klau org tiru blog or pape jelaah pasal kite ..
btol x ??
klau korang x nk copycats tiru korang punye blog ..
ikut tutorial nie ..
Disable right click (without message)
Dashboard >> Design >> Add A Gadget >> HTML/Javascript
then copy code ni n paste pastu save ..
<script language=javascript><!--
//Disable right click script III- By Renigade (renigade@mediaone.net)//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers(document.getElementById&&!document.all)) {
if (e.which==2e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
Disable Highlight
Dashboard >> Design >> Add A Gadget >> HTML/Javascript
copy paste code nie n save ..
<script type="text/javascript">//form tags to omit in NS6+://http://eking.invar omitformtags=["input", "textarea", "select"]omitformtags=omitformtags.join("|")function disableselect(e){if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)return false}function reEnable(){return true}if (typeof document.onselectstart!="undefined")document.onselectstart=new Function ("return false")else{document.onmousedown=disableselectdocument.onmouseup=reEnable}</script>
Disable Ctrl + U , Highlight , Right click !
Dashboard >> Design >> Add A Gadget >> HTML/Javascript
Ctrl + F , search <body>
gantikan code <body> kpd code bawah nie ..
<body oncontextmenu='return false;' onkeydown='return false;' onmousedown=''return false;'>
that's all for this tuto .. slamat menggune ye ..
« Older posts | Newer posts»