اضافة ايقاف مانع الاعلانات الشكل الرابع
اضافة رائعة جدا و قوية جدا تحوي على زر ايقاف الاضفة
تركيب الاضافة
نبحث عن الوسم ]]></b:skin> ونلصق فوقه الكود التالي :
/*!
* Style: Anti-Adblock
* by zkreations
*/@-webkit-keyframes bounce{0%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1.1)}100%{-webkit-transform:scale(1)}}@keyframes bounce{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}.adblockInfo{width:100%;height:100%;position:fixed;top:0;left:0;z-index:900;display:none}.adblockInfo.is-active{display:block}.adblockInfo__container{top:calc(40% - 130px);left:calc(-9% - 248px);max-width:500px;max-height:90%;font-size:16px;text-align:center;box-shadow:0 6px 5px -5px rgba(0,0,0,.5);-webkit-animation:bounce 1s;animation:bounce 1s}.adblockInfo__container,.adblockInfo__title{position:relative;z-index:10}.adblockInfo__title{padding:1em 2em;font-size:1.2em;margin:0}.adblockInfo__text{padding:2em;font-weight:500;font-size:1em;margin:0}.adblockInfo__cover{background-repeat:repeat;background-size:cover;background-position:center;height:5em;position:relative}@-webkit-keyframes rubberBand{100%,24%,from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}4%{-webkit-transform:scale3d(1.25,.8,1);transform:scale3d(1.25,.8,1)}8%{-webkit-transform:scale3d(.75,1.2,1);transform:scale3d(.75,1.2,1)}12%{-webkit-transform:scale3d(1.15,.9,1);transform:scale3d(1.15,.9,1)}16%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}20%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}@keyframes rubberBand{100%,24%,from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}4%{-webkit-transform:scale3d(1.25,.8,1);transform:scale3d(1.25,.8,1)}8%{-webkit-transform:scale3d(.75,1.2,1);transform:scale3d(.75,1.2,1)}12%{-webkit-transform:scale3d(1.15,.9,1);transform:scale3d(1.15,.9,1)}16%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}20%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}}.adblockInfo__cover__img{position:absolute;left:2em;bottom:-15px;-webkit-animation:rubberBand 3s infinite;animation:rubberBand 3s infinite;-webkit-transform-origin:bottom;transform-origin:bottom}.adblockInfo__close{background:rgba(0,0,0,.2);border:0;outline:0;font-family:monospace;font-size:1.3em;color:#fff;position:absolute;top:0;right:0;cursor:pointer;padding:0 1em;bottom:0;-webkit-transition:background .3s;transition:background .3s}.adblockInfo__close:hover{background:rgba(0,0,0,.4)}@media (max-width:500px){.adblockInfo__container{left:0;right:0;width:100%}}.adblockInfo{background:rgba(0,0,0,.95)}.adblockInfo__container,.adblockInfo__title{background:#fff}.adblockInfo__cover{background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb3mHpONURRvbkixB4ZCri5SfXEI5TarHLjFRwBj8JKataDaAvvLrUKbj3-iMTWVWOWY4gE-VXwNYwWojbROP45_6kzm89l8lL8ynM_PigxdTos9rnO77oPfEBAvuGUx0dSlWcsLmTItk1/s1600/Xlbl65e.png);background-color:#fcd9ac}.adblockInfo__title{border-bottom:1px solid rgba(0,0,0,.1);color:rgba(0,0,0,.75)}.adblockInfo__text{colorrgba(0, 0, 0, 0.75);)}
<div class='adblockInfo'>
<div class='adblockInfo__container'>
<div class='adblockInfo__cover'>
<img class='adblockInfo__cover__img' src=''/><!-- ABP-kun -->
<button class='adblockInfo__close'>x</button><!-- Si no quieres la opcion "cerrar", elimina este botón -->
</div>
<h3 class='adblockInfo__title'>تم الكشف عن إستخدام إضافة Adblock !</h3>
<p class='adblockInfo__text'> تم إكتشاف إضافة مانع الأعلانات
لتتمكن من تصفح موقعنا <br /> <b>يرجى منك إيقاف الأضافة من على المتصفح <br />أو إستخدام متصفح أخر</b><br />. و شكرا لتفهمك </p>
</div>
</div>
نبحث عن الوسم </body> ونلصق فوقه الكود التالي :
<script>//<![CDATA[
//!Add/Remove Classes with Raw Javascript: jaketrent.com/post/addremove-classes-raw-javascript/ | modal anti-adblock by zkreations
function adBlockDetected(){function e(e,c){return e.classList?e.classList.contains(c):!!e.className.match(new RegExp("(\\s|^)"+c+"(\\s|$)"))}function c(c,t){c.classList?c.classList.add(t):e(c,t)||(c.className+=" "+t)}function t(c,t){if(c.classList)c.classList.remove(t);else if(e(c,t)){var o=new RegExp("(\\s|^)"+t+"(\\s|$)");c.className=c.className.replace(o," ")}}var o=document.querySelector(".adblockInfo"),s=document.querySelector(".adblockInfo__close");c(o,"is-active"),s.onclick=function(){t(o,"is-active")}}if("undefined"!=typeof fuckAdBlock||"undefined"!=typeof FuckAdBlock)adBlockDetected();else{var importFAB=document.createElement("script");importFAB.onload=function(){fuckAdBlock.onDetected(adBlockDetected)},importFAB.onerror=function(){adBlockDetected()},importFAB.integrity="sha256-xjwKUY/NgkPjZZBOtOxRYtK20GaqTwUCf7WYCJ1z69w=",importFAB.crossOrigin="anonymous",importFAB.src="https://cdnjs.cloudflare.com/ajax/libs/fuckadblock/3.2.1/fuckadblock.min.js",document.head.appendChild(importFAB)}
//]]></script>
و قم بالحفظ و مبروك عليك الاضافة
شكرًا لوقتكم واهتمامكم بقراءة موضوع تركيب ايقاف مانع الاعلانات لمدونات البلوجر. إذا صادفتكم أي مشكلة أثناء استخدام الكود أو كان لديكم أي استفسار، فلا تترددوا في طرحه ضمن التعليقات أو التواصل معنا عبر صفحة الاتصال بنا . ولا تنسوا الانضمام إلى متابعي مدونة هلا تك ليصلكم كل كل ما هو جديد.