Cara mematikan AdBlock di semua browser sangat mudah. Anda tinggal memasukkan CSS dan Javascript berikut ini ke masing-masing bagian template Anda. Script ini berlaku untuk semua website.
CSS
#adBlockInfo {background:rgba(0,0,0,0.85);padding:0;position:fixed;bottom:0;left:0;top:-100px;right:0;z-index:1000;opacity:1;visibility:visible;height:auto;}
#adBlockInfo svg {width:100px; height:100px;}
#adBlockInfo svg path {fill:#fff;}
#adBlockInfo svg:hover{animation:jello-horizontal .5s both}
.adBlockTitle{
display:inline-block;
background:rgba(0,0,0,.1);
padding:5px 25px 15px 25px;
font-size:2.2rem;
font-weight:600;
margin-bottom:20px;
border-radius:0 0 8px 8px;
}
.adBlockTxt{
color:#fff;
position:absolute;
text-align:center;
padding:0 30px 30px 30px;
margin:auto;
top:30%;left:0;
right:0;
font-size:1.5rem;
font-weight:400;
line-height:1.5em;
font-family:monospace;
max-width:800px;
border-radius:8px;
border:4px #ccc outset;
overflow:hidden;
opacity:1;
transition:all 1s ease-in-out;
animation:adBlockInfoWobble .5s;
-moz-animation:adBlockInfoWobble .5s;
-webkit-animation:adBlockInfoWobble .5s;
-o-animation:adBlockInfoWobble .5s;
background: rgb(255,48,25);
background: -moz-linear-gradient(top, rgb(255,48,25) 0%, rgb(207,4,4) 100%);
background: -webkit-linear-gradient(top, rgb(255,48,25) 0%,rgb(207,4,4) 100%);
background: linear-gradient(to bottom, rgb(255,48,25) 0%,rgb(207,4,4) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
}
.adBlockTxt:hover{border:4px gold outset;}
@-webkit-keyframes adBlockInfoWobble {
0% {
-webkit-transform: translateY(600px) rotateX(30deg) scale(0);
transform: translateY(600px) rotateX(30deg) scale(0);
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
opacity: 0;
}
100% {
-webkit-transform: translateY(0) rotateX(0) scale(1);
transform: translateY(0) rotateX(0) scale(1);
-webkit-transform-origin: 50% -1400px;
transform-origin: 50% -1400px;
opacity: 1;
}
}
@keyframes adBlockInfoWobble {
0% {
-webkit-transform: translateY(600px) rotateX(30deg) scale(0);
transform: translateY(600px) rotateX(30deg) scale(0);
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
opacity: 0;
}
100% {
-webkit-transform: translateY(0) rotateX(0) scale(1);
transform: translateY(0) rotateX(0) scale(1);
-webkit-transform-origin: 50% -1400px;
transform-origin: 50% -1400px;
opacity: 1;
}
}
@-webkit-keyframes jello-horizontal {
0% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
30% {
-webkit-transform: scale3d(1.25, 0.75, 1);
transform: scale3d(1.25, 0.75, 1);
}
40% {
-webkit-transform: scale3d(0.75, 1.25, 1);
transform: scale3d(0.75, 1.25, 1);
}
50% {
-webkit-transform: scale3d(1.15, 0.85, 1);
transform: scale3d(1.15, 0.85, 1);
}
65% {
-webkit-transform: scale3d(0.95, 1.05, 1);
transform: scale3d(0.95, 1.05, 1);
}
75% {
-webkit-transform: scale3d(1.05, 0.95, 1);
transform: scale3d(1.05, 0.95, 1);
}
100% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}
@keyframes jello-horizontal {
0% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
30% {
-webkit-transform: scale3d(1.25, 0.75, 1);
transform: scale3d(1.25, 0.75, 1);
}
40% {
-webkit-transform: scale3d(0.75, 1.25, 1);
transform: scale3d(0.75, 1.25, 1);
}
50% {
-webkit-transform: scale3d(1.15, 0.85, 1);
transform: scale3d(1.15, 0.85, 1);
}
65% {
-webkit-transform: scale3d(0.95, 1.05, 1);
transform: scale3d(0.95, 1.05, 1);
}
75% {
-webkit-transform: scale3d(1.05, 0.95, 1);
transform: scale3d(1.05, 0.95, 1);
}
100% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}
Javascript
var titleAd = 'AD Blocker Terdeteksi!';
var notifAd = 'Supaya website ini tetap berjalan segera matikan AD-Block Anda atau masukkan blog ini ke dalam whitelist. Terima kasih';
//<![CDATA[
var _0xf10a=["\x73\x63\x72\x69\x70\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x73\x72\x63","\x2F\x2F\x70\x61\x67\x65\x61\x64\x32\x2E\x67\x6F\x6F\x67\x6C\x65\x73\x79\x6E\x64\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x70\x61\x67\x65\x61\x64\x2F\x6A\x73\x2F\x61\x64\x73\x62\x79\x67\x6F\x6F\x67\x6C\x65\x2E\x6A\x73","\x61\x73\x79\x6E\x63","\x6F\x6E\x65\x72\x72\x6F\x72","\x64\x69\x76","\x69\x64","\x61\x64\x42\x6C\x6F\x63\x6B\x49\x6E\x66\x6F","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x61\x64\x42\x6C\x6F\x63\x6B\x54\x78\x74\x22\x3E\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x61\x64\x42\x6C\x6F\x63\x6B\x54\x69\x74\x6C\x65\x22\x3E","\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x62\x72\x2F\x3E\x3C\x73\x76\x67\x20\x76\x69\x65\x77\x42\x6F\x78\x3D\x22\x30\x20\x30\x20\x32\x34\x20\x32\x34\x22\x3E\x3C\x70\x61\x74\x68\x20\x64\x3D\x22\x4D\x31\x33\x2C\x31\x33\x48\x31\x31\x56\x37\x48\x31\x33\x4D\x31\x32\x2C\x31\x37\x2E\x33\x41\x31\x2E\x33\x2C\x31\x2E\x33\x20\x30\x20\x30\x2C\x31\x20\x31\x30\x2E\x37\x2C\x31\x36\x41\x31\x2E\x33\x2C\x31\x2E\x33\x20\x30\x20\x30\x2C\x31\x20\x31\x32\x2C\x31\x34\x2E\x37\x41\x31\x2E\x33\x2C\x31\x2E\x33\x20\x30\x20\x30\x2C\x31\x20\x31\x33\x2E\x33\x2C\x31\x36\x41\x31\x2E\x33\x2C\x31\x2E\x33\x20\x30\x20\x30\x2C\x31\x20\x31\x32\x2C\x31\x37\x2E\x33\x4D\x31\x35\x2E\x37\x33\x2C\x33\x48\x38\x2E\x32\x37\x4C\x33\x2C\x38\x2E\x32\x37\x56\x31\x35\x2E\x37\x33\x4C\x38\x2E\x32\x37\x2C\x32\x31\x48\x31\x35\x2E\x37\x33\x4C\x32\x31\x2C\x31\x35\x2E\x37\x33\x56\x38\x2E\x32\x37\x4C\x31\x35\x2E\x37\x33\x2C\x33\x5A\x22\x3E\x3C\x2F\x70\x61\x74\x68\x3E\x3C\x2F\x73\x76\x67\x3E\x3C\x62\x72\x2F\x3E","\x3C\x2F\x64\x69\x76\x3E","\x61\x70\x70\x65\x6E\x64","\x62\x6F\x64\x79","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x61\x64\x62\x6C\x6F\x63\x6B","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65"];(function adBlockInfo(){var _0x5da8x2=document[_0xf10a[1]](_0xf10a[0]);_0x5da8x2[_0xf10a[2]]= _0xf10a[3];_0x5da8x2[_0xf10a[4]]= _0xf10a[5];_0x5da8x2[_0xf10a[6]]= true;_0x5da8x2[_0xf10a[7]]= function(){var _0x5da8x3=document[_0xf10a[1]](_0xf10a[8]);_0x5da8x3[_0xf10a[9]]= _0xf10a[10];_0x5da8x3[_0xf10a[11]]= _0xf10a[12]+ titleAd+ _0xf10a[13]+ notifAd+ _0xf10a[14];document[_0xf10a[16]][_0xf10a[15]](_0x5da8x3);document[_0xf10a[16]][_0xf10a[18]][_0xf10a[17]]= _0xf10a[19];window[_0xf10a[20]]= true};var _0x5da8x4=document[_0xf10a[21]](_0xf10a[0])[0];_0x5da8x4[_0xf10a[23]][_0xf10a[22]](_0x5da8x2,_0x5da8x4)})()
//]]>
Mantul gan
ReplyDelete