Kamis, 28 Februari 2013

Java Script Untuk Protect Web :D

// disable keydown ctrl c & v

<script language="javascript">
function onkeydown() {
alert("dilarang copas"); // commentnya
// current pressed key
var pressedKey = String.fromCharCode(event.keyCode).toLowerCase();
if (event.ctrlKey && (pressedKey == "c" ||
pressedKey == "v")) {
// disable key press porcessing
event.returnValue = false;
} // onkeydown

<script language="Javascript">
//Disable klik kanan di mouse kamu

//pesan yang akan ditampilkan bila kamu klik kanan
var message="Maaf Tidak Boleh Copy Paste dengan Click Kanan";

//Kode selanjutnya merupakan fungsi untuk mendisable klik kanannya
function clickIE4(){
if (event.button==2){
return false;
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
if (document.layers){
else if (document.all&&!document.getElementById){
document.oncontextmenu=new Function("alert(message);return false")


<script TYPE="text/javascript">
//Disable select-text script (IE4+, NS6+)
function disableselect(e){
return false
function reEnable(){
return true
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
// -->

12 komentar:

  1. Good post. I learn something new and challenging on blogs I stumbleupon on a daily basis.

    It will always be useful to read through articles from other authors and use a little something from their websites.

    My blog post ... Louis Vuitton Handbags Outlet

  2. Greetings! I know this is kinda off topic however , I'd figured I'd ask.
    Would you be interested in exchanging links or maybe guest authoring a blog article or
    vice-versa? My site covers a lot of the same topics as yours and I think
    we could greatly benefit from each other.
    If you're interested feel free to send me an e-mail. I look forward to hearing from you! Wonderful blog by the way!

    my web page Wholesale Jerseys

  3. I'd like to find out more? I'd love to find out more

    My site Louis Vuitton Handbags Outlet

  4. Nice post. I was checking constantly this blog and I am impressed!
    Very useful info particularly the final phase :) I handle such information a lot.
    I used to be looking for this particular information for a
    very long time. Thank you and good luck.

    my website :: Tory Burch Shoes

  5. I read this paragraph fully about the resemblance of hottest
    and previous technologies, it's amazing article.

    Feel free to surf to my web page http://www.wsmisports.com/louisvuittonoutlet.html

  6. whoah this weblog is excellent i love studying your posts.

    Keep up the good work! You know, a lot of people are searching round for this info, you could
    aid them greatly.

    My web page Michael Kors Canada

  7. I'm truly enjoying the design and layout of your blog. It's a very easy on the
    eyes which makes it much more enjoyable for me to come here and visit more often.
    Did you hire out a developer to create your theme?

    Outstanding work!

    Stop by my blog ... www.porninvader.net

  8. It's hard to find experienced people on this topic, but you sound like you know what you're talking about!

    Here is my web site: portail electrique

  9. Can you tell us more about this? I'd like to find out some additional information.

    Also visit my blog; source

  10. I visit each day some web sites and blogs to read articles
    or reviews, but this website provides quality based content.

    Here is my homepage Mulberry Bags

  11. It's going to be end of mine day, but before end I am reading this impressive article to improve my knowledge.

    Feel free to surf to my homepage: Louis Vuitton Outlet

  12. It's remarkable to go to see this site and reading the views of all colleagues concerning this paragraph, while I am also zealous of getting knowledge.

    my weblog; check this out