Cara Mengaktifkan Anti Copy Pada Blog
A. Script Anti Copas 1
<script> var message=”Hayo…! Mau ngapain“;///////////////////////////////////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>
- Masuk ke dashboard blogger
- Pilih Tata Letak
- Pilih tambah widget/gadget
- Pilih HTML/Javascript
- Tempel Script anti copas di dalamnya. Lalu Save.
<script language=’JavaScript1.2′>function disableselect(e){return false}function reEnable(){return true}document.onselectstart=new Function (“return false”)if (window.sidebar){document.onmousedown=disableselectdocument.onclick=reEnable
}}</script>
C. Script Anti Copas 3
<style type=”text/css” media=”print”> * { display: none; }</style>
- Masuk dashboard blogger
- Pilih Tema
- Pilih Edit HTML
- Cari kode </body> (biar cepet gunakan Ctrl + F)
- Tempel kode diatas tepat diatas kode </body>
Cara Mengaktifkan Anti Copas Di Blog Dengan Mudah
<body oncontextmenu=’return false;’ onkeydown=’return false;’ onmousedown=’return false;’>
- Masuk dashboard blogger
- Pilih Tema
- Pilih Edit HTML
- Cari kode <body>
- Ganti kode <body> dengan script anti copas diatas.
<body expr:class=’data:blog.pageType’ oncontextmenu=’return false;’ ondragstart=’return false’ onkeydown=’return false;’ onmousedown=’return false;’ onselectstart=’return false’ style=’-moz-user-select: none; cursor: default;’>
<body> atau <body expr:class=’data:blog.pageType’>
F. Script Anti Copas 6
(Recomended)
<b:if cond=’data:blog.pageType == "item"’><style type=’text/css’>.post-body {-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0 0 10px 0;margin:0 0 10px 0;line-height:21px;}.post-body img{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:#fdfdfd;height:auto;max-width:100%;border:0;margin-bottom:2.0px;box-shadow:0 0 0 1px rgba(0,0,0,0.03);opacity:1;transition:all .6s ease;}.post_body p, .post blockquote,.post pre,.post code {-webkit-touch-callout:text;-khtml-user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;}</style></b:if>
- Masuk dashboard blogger
- Pilih Tema
- Edit HTML
- Cari kode </head>
- Lalu tempel kode script level 6 tepat diatas kode </head>. Lalu save.
1 komentar