كلمة مدير الموقع
يا ضيفنا الكريم سلام الله عليك
نعلم جميعاً ان المنتدي مكان لتبادل المنفعة ولكي نفيد ونستفيد ..
من فضلك ساهم بقدر المستطاع واجعل دورك فعال بالمنتدي على الأقل قم بشكر الشخص الذي إستفدت من موضوعه ..
فنحن نعمل جميعاً على نشر الفائدة فشارك في هذا العمل ولا تكتفي بالمشاهدة فقط ..
آخر المواضيع
الموضوع
تاريخ ارسال المشاركة
بواسطة
معهد سيوهاب يرحب بكم
تبادل إعلانى مع مدونة سيوهاب
مدونة سيوهاب - التسويق والسيو بالعربي
[إشهار] موقع برامج - مكتبة البرامج المجانية للكمبيوتر والاندرويد
موقع شوف 360 الاخباري
مدونة قنوات أونلاين - القنوات الفضائية بين يديك
موقع برامج نت | برامج - تطبيقات - العاب - شروحات
موسوعة لماذا - موقع يجيب على كل سؤال يبدأ ب : لماذا
موقع خبري | أخبار تقنية - ترددات قنوات النايل سات وعرب سات
[حصري] كيف تضاعف زيارات موقعك عن طريق الـ H Tags
كل ما تود معرفته عن منصة سابر الإلكترونية لاستخراج شهادات المطابقة
[حصري] هل تراجعت زيارات موقعك من محركات البحث ؟
الأحد مارس 26, 2023 1:10 am
الأحد مارس 19, 2023 9:30 pm
الأحد فبراير 19, 2023 5:23 pm
الثلاثاء يناير 24, 2023 9:10 pm
الثلاثاء ديسمبر 20, 2022 9:13 pm
الأحد يوليو 17, 2022 1:59 pm
الأربعاء أبريل 27, 2022 8:14 pm
السبت ديسمبر 11, 2021 11:11 pm
الأحد أكتوبر 31, 2021 7:03 pm
الإثنين سبتمبر 06, 2021 10:07 pm
الإثنين سبتمبر 06, 2021 2:01 pm
الأحد أغسطس 29, 2021 5:56 pm













شرح تركيب اضافة مانع الإعلانات بشكل جذاب سلس ومتجاوب

استعرض الموضوع التالي استعرض الموضوع السابق اذهب الى الأسفل

شرح تركيب اضافة مانع الإعلانات بشكل جذاب سلس ومتجاوب Empty شرح تركيب اضافة مانع الإعلانات بشكل جذاب سلس ومتجاوب

مُساهمة من طرف مطور الأحد أغسطس 08, 2021 6:30 pm

السلام عليكم ورحمة الله تعالى وبركاته
مرحبا بكم أعضاء و الزوار*معهد تقني*,في هذا الموضوع سوف نطرح*اضافة مانع الإعلانات بشكل جديد
بالنسبة لناشري adsense، يمثل مانع الإعلانات تحديًا. فهو يؤدي إلى انخفاض الدخل بشكل كبير وهو أمر محزن للغاية ولكن هذه حقيقة يمكننا التعايش معها الآن.

وظيفة مانع الإعلانات

Anti AdBlock هي سلسلة من البرامج النصية التي تجبر مظهر الموقع على عرض إشعارات معينة إذا قام مستخدم المتصفح بتنشيط AdBlock. عادة ما يغطي برنامج مكافحة adblock محتوى الموقع بالكامل (overlay)، والذي يحتوي على إشعار لمستخدمي المتصفح لتعطيل مانع الإعلانات الذي يستخدمونه. الغرض من إنشاء مانع الإعلانات هو أن تستمر الإعلانات في الظهور، من أجل دعم بقاء واستمرار موقع يعتمد على إيرادات الإعلانات

شرح طريقة التركيب


  • 1. سجل الدخول إلى مدونتك
  • 2. المظهر >> تعديل HTML
  • 3. ابحث عن ]]> ثم ضع الكود فوقه


الكود:
/*!
 * Anti-adblock v2.1.0
 * Copyright 2019 zkreations
 * Daniel Abel M. (fb.com/danieI.abel)
 * Licensed under MIT (github.com/zkreations/plugins/blob/master/LICENSE)
 * Blogger Version
 */
@font-face {
 *font-family: "wgd";
 *src: url(https://cdn.jsdelivr.net/gh/da2l/host@1/dist/fonts/wgd.woff) format("woff");
 *font-weight: normal;
 *font-style: normal;
}
[class^="wgd-"]:before,
[class*=" wgd-"]:before {
 *font-family: "wgd" !important;
 *font-style: normal !important;
 *font-weight: normal !important;
 *font-variant: normal !important;
 *text-transform: none !important;
 *speak: none;
 *line-height: 1;
 *-webkit-font-smoothing: antialiased;
 *-moz-osx-font-smoothing: grayscale;
}
.wgd-usd:before {
 *content: "\61";
}
.wgd-eur:before {
 *content: "\62";
}
.wgd-btc:before {
 *content: "\63";
}
.wgd-times:before {
 *content: "\64";
}
@keyframes square {
 *0% {
 * *transform: translateY(0) scale(1.5) rotate(0);
 * *opacity: 1
 *}
 *100% {
 * *transform: translateY(-600px) scale(1) rotate(-200deg);
 * *opacity: 0
 *}
}
.WgD-particles i {
 *font-size: 4em;
 *font-weight: 400;
 *position: absolute;
 *bottom: -100px;
 *animation: square 10s infinite;
}
.WgD-particles i:nth-child(6),
.WgD-particles i:nth-child(4),
.WgD-particles i:nth-child(11),
.WgD-particles i:nth-child(8) {
 *font-size: 3em;
}
.WgD-particles i:nth-child(2),
.WgD-particles i:nth-child(3),
.WgD-particles i:nth-child(10) {
 *font-size: 2em;
}
.WgD-particles i {
 *animation-duration: 16s;
}
.WgD-particles i:nth-child(1) {
 *left: 15%;
}
.WgD-particles i:nth-child(2) {
 *left: 24%;
 *animation-duration: 8s
}
.WgD-particles i:nth-child(3) {
 *left: 50%;
 *animation-delay: 5s
}
.WgD-particles i:nth-child(4) {
 *left: 40%;
 *animation-delay: 7s;
 *animation-duration: 15s
}
.WgD-particles i:nth-child(5) {
 *left: 36%;
 *animation-delay: 6s
}
.WgD-particles i:nth-child(6) {
 *left: 44%;
 *animation-delay: 10s;
 *animation-duration: 20s
}
.WgD-particles i:nth-child(7) {
 *left: 58%;
 *animation-delay: 2s;
 *animation-duration: 18s
}
.WgD-particles i:nth-child(8) {
 *left: 45%;
 *animation-duration: 14s
}
.WgD-particles i:nth-child(9) {
 *left: 66%;
 *animation-delay: 3s;
 *animation-duration: 12s
}
.WgD-particles i:nth-child(10) {
 *left: 74%;
 *animation-duration: 25s
}
.WgD-particles i:nth-child(11) {
 *left: 80%;
 *animation-delay: 4s
}
body.ab-is-detected {
 *overflow: hidden !important;
}
[id=WgD] {
 *display: none;
}
[id=WgD].is-detected {
 *display: block;
}
@keyframes wgdfade {
 *from {
 * *opacity: 0;
 *}
 *to {
 * *opacity: 1;
 *}
}
#WgD {
 *position: fixed;
 *top: 0;
 *left: 0;
 *right: 0;
 *bottom: 0;
 *font-size: 14px;
 *animation: wgdfade .3s;
 *z-index: 99999;
}
.WgD-position {
 *position: absolute;
 *top: 50%;
 *left: 50%;
 *transform: translate(-50%, -50%);
 *z-index: 900;
}
.WgD-title {
 *margin: 0;
 *margin-bottom: .5em;
 *font-size: 1.6em;
 *font-weight: 800;
 *font-family: 'bein-normal', sans-serif;
 * color: #333;
}
.WgD-text {
 *margin: 0;
 *font-weight: 400;
 *font-family: 'bein-normal', sans-serif;
 *color:#6d707a;
}
.WgD-reload {
 *text-decoration: none;
 *display: inline-block;
 *margin-top: 2em;
 *font-weight: 500;
 *transition: transform .3s;
 *font-family: 'bein-normal', sans-serif;
}
.WgD-reload:hover {
 *transform: scale(1.05);
}
.WgD-close {
 *position: absolute;
 *top: 0;
 *right: 0;
 *text-decoration: none;
 *font-size: 20px;
 *color: #999;
 *padding: 1rem;
 *line-height: 1;
 *display: block;
}
.WgD-container img {
 *max-width: 100%;
 *margin-bottom: 1em;
 *object-fit: cover;
}


/* Base
-----------------------------------------*/
[id=WgD] {
 *font-family: 'Roboto', sans-serif; /*fuente*/
 *background: #FF416C; /*fondo por defecto */
 *background: linear-gradient(to right, #FF4B2B, #FF416C);
}
.WgD-particles i {
 *color: rgba(0, 0, 0, 0.2); /*color particulas*/
}
/* Animacion (daneden.github.io/animate.css/)
-----------------------------------------*/
.WgD-container {
 *animation: bounceIn 1s; /*nombre y duracion*/
}
/* Cuerpo
-----------------------------------------*/
.WgD-container {
 *padding: 3.2em; /*naruto(relleno)*/
 *max-width: 450px; /*ancho maximo*/
 *background-color: #fff; /*color*/
 *box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
 *text-align: center;
 *line-height: 1.5;
 *border-radius: 10px;
 *color: #37474F;
}
.WgD-title {
 *font-size: 1.6em;
}
.WgD-text {
 *font-size: 1.2em;
}
/* Boton Recargar
-----------------------------------------*/
a.WgD-reload {
color: #fff !important;
}
.WgD-reload {
 *box-shadow: rgba(0, 0, 0, .12) 0 3px 13px 1px;
 *color: #fff;
 *padding: 1em 1.5em;
 *background: #F44336; /*color*/
 *border-radius: 3px;
}
.WgD-reload:hover {
 * *color: #fff;
}
.WgD-close:hover {
 * *color: #464646;
}
/* Imagen
-----------------------------------------*/
.WgD-container img {
 *max-height: 200px;
}
4. ابحث عن ثم ضع الكود التالي فوقه


الكود:
<div id='WgD'>
 *<div class='WgD-position'>
 * *<div class='WgD-container'>
 * * *<h3 class='WgD-title'>تم الكشف عن مانع الإعلانات!</h3>
 * * *<p class='WgD-text'>يرجى إيقاف <strong>Adblock</strong> للاستمرار في دعم الموقع من أجل التطوير</p>
 * * *<a class='WgD-reload' href='#' onclick='adBlockReload()'>تعطيل Adblock & إعادة تحميل</a>
 * *</div>
 *</div>
 *<div class='WgD-particles'>
 * *<i class='wgd-usd'/>
 * *<i class='wgd-eur'/>
 * *<i class='wgd-usd'/>
 * *<i class='wgd-eur'/>
 * *<i class='wgd-btc'/>
 * *<i class='wgd-usd'/>
 * *<i class='wgd-usd'/>
 * *<i class='wgd-eur'/>
 * *<i class='wgd-btc'/>
 * *<i class='wgd-usd'/>
 * *<i class='wgd-eur'/>
 </div></div>


<!-- Adblock -->
<script>
function adBlockClose() {
 *document.getElementById("WgD").classList.remove("is-detected");
 *document.body.classList.remove("ab-is-detected")
};
function adBlockReload() {
 *window.location.reload();
 *return !1
};
function adBlockDetected() {
 *document.getElementById("WgD").classList.add("is-detected");
 *document.body.classList.add("ab-is-detected")
};
if(typeof fuckAdBlock !== 'undefined' || typeof FuckAdBlock !== 'undefined') {
 adBlockDetected();
} else {
 var importFAB = document.createElement('script');
 importFAB.onload = function() {
 *fuckAdBlock.onDetected(adBlockDetected)
 *fuckAdBlock.onNotDetected(adBlockNotDetected);
 };
 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>
انتهى
مطور
مطور
مؤسس المعهد
مؤسس المعهد

المساهمات : 92
نقاط : 343
السٌّمعَة : 1
تاريخ التسجيل : 25/07/2021
العمر : 33

https://mtwer.yoo7.com

الرجوع الى أعلى الصفحة اذهب الى الأسفل

استعرض الموضوع التالي استعرض الموضوع السابق الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى
معهد مطور غير مسؤول عن أي إتفاق تجاري أو تعاوني بين المستخدمين عامة
فعلى كل شخص تحمل مسؤولية نفسه إتجاه مايقوم به من بيع وشراء وإتفاق وإعطاء معلومات موقعه
التعليقات والردود المنشورة لا تعبر عن رأي معهد مطور ولا نتحمل أي مسؤولية قانونية حيال ذلك ( ويتحمل كاتبها مسؤولية النشر)

  • ©phpBB | الحصول على منتدى | منتدى مجاني للدعم و المساعدة | التبليغ عن محتوى مخالف | آخر المواضيع