May 29, 2012

Tutorial : Disable Copy Text

Hye peeps,

hari nie azza baik hati, nak kongsi tutorial dengan korang macam mana nak elakkan ayat korang daripada dicuri, okay, tutorial nie ada adik dekat facebook yang di request, kena laa buat jugak walaupun masa selalu sibuk, azza akan start sibuk na, nak buat macam mana, PMR timee, (:


Disable text


log in blogger > dashboard > layout > add a gadget


<script type="text/javascript">
//form tags to omit in NS6+:
//http://eking.in
var 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=disableselect
document.onmouseup=reEnable
}

</script>


then add a gadjet tanpa title okay ? SIAP ! hehe

okay, yang nak cool, kononnya alah menatang tulisan tu keluar oops apaa laa kan, korang leh guna tutorial nie,

log in blogger > dashboard > layout > add a gadget


<script language='JavaScript'>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="No Right-Click!";

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


yang bold tu korang tukar pada ayat korang sendiri ea, siapp, selamat mencuba.

Love,

25 Comment:

farhanah fadulah said...

thanks alot,akak!! :)

Azza Firza said...

@farhanah fadulah

welc

Uchi kay-f @hmad said...

menarik ni ok takenote ngee ngee

farhanah fadulah said...

akak,yg pnjg2 tu kite kene salin ke??

Azza Firza said...

@Uchi kay-f @hmad

ngehhh

Azza Firza said...

@farhanah fadulah

akk bg dua, pilih salah satu okay

farhanah fadulah said...

okay,j=hana faham..
tapi hana xdapat cari yg simbol yg gelombong2 tu..
hehe.. :)

Azza Firza said...

@farhanah fadulah

cari baik baik oke

farhanah fadulah said...

okay... ^^

alynn M said...

good luck pmr! *tiba tiba. ;)

Azza Firza said...

@farhanah fadulah

heee

Azza Firza said...

@alynn M

tq

ILoveYou ♥ said...

kak azza , thankz .. dh ley wt dh :D ..

Azza Firza said...

@ILoveYou ♥

welc darl

nadia said...

macam mane??? argghhhhh
gile aq jadinye.. hehehe

Azza Firza said...

@nadia

hahahaha, LOL

ceR ciTeR .... said...

thnks....

Azza Firza said...

@ceR ciTeR ....

welc :)

Kisah Ku Dan Ianya Tetap Aku said...

azza knp x boley copy ni ,???

Kisah Ku Dan Ianya Tetap Aku said...

azza knp x boley copy ni??? help me please,,,

Esha iDek said...

terima kash

Syahira Allic said...

tak bole arr :(

Azza Firza said...

@Syahira Allic

try oke :)

Rina said...

sye share tutor nie , keyh :) sye credit nme awk .

Azza Firza said...

@Rina

okay, thankie sayangs <3

Related Posts Plugin for WordPress, Blogger...
 

All Rights Reserved by Azah Rahaman