r e v e r i e

reverie

welcome kids





travel back in time

2011

2012

2013

2016

2017

2020

2021

2022

2023







Tutorial : Disabled Right Click Without Message}
11 January 2012 | 5:09 PM | 0Comment

Hii  :) Jom belajar macam mana nak suruh orang lain tak boleh copy apa2 dalam blog kita. Jadi, mari tengok yang rishah ajar kat bawah ok? Follow the steps! ^^

1. Sign in > Design > Page Elements > Add A Gadget > Html/JavaScript
2. Copy code di bawah : -
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dauspozi.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.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>

3. Penuhkan code di atas ke dalam Html/JavaScript
4. Save. Dah siap!
Kalau korang nak ada message bila ada orang nak copy boleh ke tuto INI!!

Bubye and Assalamualaikum