How to Create "Right Click is Disable" for Blogger
Gadgets For Blogger - This tutorial is very useful for keeping your blog from an image or article that should not be copied. Copy-Paste is prohibited if it does not ask permission or acknowledgment. Disable is also important to keep the Page Source or View page source code. How it works is to use Messenge Alert (sort of warning) and the contents written to taste if my friend right click.
Well, if anyone is interested please follow the following ways.
- Go to Blogger.com premises Pass and ID. Buddy leads towards the Edit HTML
- After that Copy the code below and place it where he pleases
<script>
var message="Sorry, you can't right click at here ^^";
///////////////////////////////////
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>
- Code blue is replaced according to taste my friend. After the Save Template and Woow! Cool!
Thank you for reading How to Create "Right Click is Disable" for Blogger
0 comments:
Post a Comment