Welcome to my purplish blog. Stay cool reading my entry :) | Dashboard | Follow |

Tutorial : Disable right click without alert

Okayy, hari ni baru rajin nak update blog. Sorry sesiapa yang dah request tuto lama. Sumpah saya baru perasan comment awak semua. Sorry sesangat (harap dimaafkan) hihi ^^ okay, tuto hari ni disable right click without alert. Sebenarnya saya dah buat lama dah disable right click tapi yang tu Disable Right Click With Alert macam saya sekarang. Boleh visit situ kalau nak yang ada alert :) let's begin :-

1. Dashboard > Design > Add 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. Pastekan kat HTML/JAVASCRIPT tu.

4. Save !

Senangkan? tak susah mana pun. selamat mencuba. Comment lepastu okayy :)

Ainadyra

The End