Home » » Cara membuat browser bergetar saat klik kanan

Cara membuat browser bergetar saat klik kanan


Caranya adalah sebagai berikut :

1. Login ke akun Blog anda.
2. Pilih Rancangan, Add Gadget kemudian klik HTML/Java Script.
3. Copy Paste script di bawah ini ke dalam gadget HTML/Java Script anda.
<script language="javascript">

<!-- Begin

function shake(n) {

if (parent.moveBy) {

for (i = 10; i > 0; i--) {

for (j = n; j > 0; j--) {

self.resizeTo(250,150);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);

parent.moveBy(i,0);

parent.moveBy(0,-i);

parent.moveBy(-i,0);

parent.moveBy(0,i);}}}}


// End -->


PopUpURL = "Maaf anda tidak di perbolehkan klik kanan";


isIE=document.all;

isNN=!document.all&&document.getElementById;

isN4=document.layers;


if (isIE||isNN)

{

document.oncontextmenu=checkV;

}

else

{

document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);

document.onmousedown=checkV;

}

function checkV(e)

{

if (isN4)

{

if (e.which==2||e.which==3)

{

dPUW=alert("Maaf anda tidak di perbolehkan klik kanan");

shake(2);

return false;

}

}

else

{

dPUW=alert(PopUpURL);

shake(2);

return false;

}

}

</script>

 

4. Save
Share
Related Post

0 comments:

Archives

Label


ShoutMix chat widget
Guest Book
 

Subscribe Via Email

Enter your email address:

Delivered by FeedBurner

My Blog

Show

Exploration


Show

[Valid Atom 1.0]
Google PageRank Checker Powered by  MyPagerank.Net

Powered by FeedBurner

SEO Stats powered by MyPagerank.Net

Show

Show

Exploration

Welcome To My Blog

I hope you find what you're looking for here . . Thank you for visit to my simple blog . .

Rizky Maulana

This life is a sacrifice and struggle . . and I am just a man who wants to be better than ever . .