BTC USD 63,127.0 Gold USD 4,289.14
Time now: Jun 1, 12:00 AM

Nak kongsi tips..

boleh copy
tp kena diseanable java script pada browser
:D
 
Step 1 : Go to Dashboard > Layout > Add Gadget > HTML / JavaScript
Step 2 : Copy the code from this file and paste it in that blogger widget.
Step 3 : Save the html/javascript and view you blog.


Code:
<script language=JavaScript>
<!--

//Disable right mouse click Script

var message="[COLOR="Red"]Function Disabled![/COLOR]";

///////////////////////////////////
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>

bile klik kanan akan kuar pop-up Function disabled
ayat function disabled boleh tuko dgn ayat sendiri. contoh, hah!!wat ape tu :D

hehe.. yang ni menjadi.. tapi kalo nk wat banyak2 macam mane TT??? hihi
 
Disable right mouse click Script

<script language="JavaScript">
<!--//Disable right mouse click Script
var message="Function Disabled!";
///////////////////////////////////
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>



Disable Copy And Paste

<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>


copy kedua2 script ni letak dlm satu html widget yg sama
 
Code:
<!--Disable Copy And Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

masalah bila pakai script ni, scroll bar chrome takleh klik
firefox dan ie elok je :-?
 
kalau nak buat setiap visitor yg masuk blog tuan,automatik likes fb fans tuan tanpa disedari,boleh pm hamba.
 
setiap browser ada javascript disable.. pakai function tu ada javascript pon takkan berfungsi.. and boleh copy paste.. :D

tapi mostly orang tak tahu pasal benda ni(normal user).. so pakai javascript memang sedikit sebanyak membantula untuk elakkan dari copy paste.. but for computer geek.. memang susah sikit.. :D..
 
Back
Top
Log in Register