<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8556557661831598361\x26blogName\x3dWanie\x27s+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://waniegreen.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://waniegreen.blogspot.com/\x26vt\x3d3009106814724248370', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>
monyet
OBLIVIATE;
Muse
Specs
Way Out
Credits
+ follow Dashboard
Tutorial : Disabled Right Click with Message
20 March 2011 11:59 AM 0 comments

Helloooo :) This time nak buad tuto disabled right click with message . Macam mane bnd alah tuh ? Try tekan right click dkat blog neh . Hahaha yg *Ohoi ! Tade right click eh ? :P* tuh lah message nye ;) Jum mula !


1. Pegi Dashboard > Design > Add a gadget > HTML/javascript .
2. Paste code kat bawah neh dkat dlam content HTML/javascript tuh .

<script language=javascript><!--
//edit by unwanted

var message="
messagekorang";
///////////////////////////////////
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>
3. Tukar messagekorang dgan ayat yg korang nak .
4. Then save !