kilya

Anti-Adblock

Jun 1st, 2020
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.23 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5.   <meta charset="UTF-8">
  6.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.   <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8.   <title>Anti-Adblock</title>
  9.   <style type='text/css'>
  10.   @import url('https://fonts.googleapis.com/css?family=Changa');
  11.   @-webkit-keyframes Gradient {
  12.    0% {
  13.     background-position: 0% 50%
  14.    }
  15.    50% {
  16.     background-position: 100% 50%
  17.    }
  18.    100% {
  19.     background-position: 0% 50%
  20.    }
  21.   }
  22.   @-moz-keyframes Gradient {
  23.    0% {
  24.     background-position: 0% 50%
  25.    }
  26.    50% {
  27.     background-position: 100% 50%
  28.    }
  29.    100% {
  30.     background-position: 0% 50%
  31.    }
  32.   }
  33.   @keyframes Gradient {
  34.    0% {
  35.     background-position: 0% 50%
  36.    }
  37.    50% {
  38.     background-position: 100% 50%
  39.    }
  40.    100% {
  41.     background-position: 0% 50%
  42.    }
  43.   }
  44.   .adblockInfo{width:100%;height:100%;position:fixed;top:0;left:0;z-index:900;display:none}
  45.   .adblockInfo.is-active{display:block}
  46.   .adblockInfo__container{top: calc(50% - 40%); max-width: 350px; font-size: 16px; text-align: center; box-shadow: 0 6px 5px -5px rgba(0,0,0,.5); margin: 0 auto;font-family: 'Changa', cursive;}
  47.   .adblockInfo__container,.adblockInfo__title{position:relative;z-index:10}
  48.   .adblockInfo__title{padding:1em 2em;font-size:1.2em;margin:0}
  49.   .adblockInfo__text{padding: 1em; font-size: 1em; line-height: 2; text-align: center;}
  50.   .adblockInfo__cover__img { width: 100px; max-width: 100px; max-height: 100px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; border: 5px solid rgba(255,255,255,0.5); top: 65%; position: relative; z-index: 99;}
  51.   @media (max-width:500px){.adblockInfo__container{left:0;right:0;width:100%}}
  52.   .adblockInfo {
  53.       background: rgba(0, 0, 0, 0.95);
  54.   }
  55.   h3.adblockInfo__title { margin-top: 10px; }
  56.   .adblockInfo__title,
  57.   .adblockInfo__container {
  58.       background: #fff;
  59.   }
  60.   .adblockInfo__cover { position: relative; background: linear-gradient(-45deg, #EE7752, #E73C7E, #23A6D5, #23D5AB); background-size: 400% 400%; -webkit-animation: Gradient 15s ease infinite; -moz-animation: Gradient 15s ease infinite; animation: Gradient 15s ease infinite; height: 200px; }
  61.   .adblockInfo__title {
  62.       border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  63.       color: rgba(0, 0, 0, 0.75);
  64.   }
  65.   .adblockInfo__text {
  66.       color: #524e4e;
  67.   }
  68.   .bottom { line-height: 3em; }
  69.   .ar1web-social {position: relative; margin: 0 auto; padding: 0 0 0 0;} .ar1web-social li { display: inline-block; margin:0; line-height: 16px; }.ar1web-social li a { color:#fff; position: relative; z-index: 98; font-size: 19px; display: block ; text-align: center; } .twitter-icon:before { content:"\f099" } .gpluss-icon:before { content:"\f16d" } .facebook-icon:before { content:"\f09a" } .rss-icon:before { content:"\f09e" } .social-tooltip.tw, .social-tooltip.fb, .social-tooltip.yt, .social-tooltip.rs, .social-tooltip.wp, .social-tooltip.gp { color: #0099CC;padding: 4px 6px;}
  70.   .social-tooltip.tw { color: #44C3F9;}
  71.   .social-tooltip.wp { color: #5CCC19; }
  72.   .social-tooltip.gp { color: #c93ce2; }
  73.   .social-tooltip.fb { color: #086A8C; } .social-tooltip.yt{color: #FF2F37;} .ar1web-social .social-tooltip:hover:after{ top: -36px; background: none repeat scroll 0% 0% #FFF; font-size: 14px; color: #666; content: attr(title); display: block; right: 0px; padding: 5px 15px; position: absolute; white-space: nowrap; border-radius: 3px; box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  74.   .ar1web-social .social-tooltip:hover { color: #F8A01B;text-decoration: none; }
  75.   }
  76.   </style>
  77. </head>
  78.  
  79. <body>
  80.  
  81. <h1> Show Text Test </h1>
  82.   <div class='adblockInfo'>
  83.   <div class='adblockInfo__container'>
  84.   <div class='adblockInfo__cover'>
  85.   <img class='adblockInfo__cover__img' src='https://freeiconshop.com/wp-content/uploads/edd/stop-flat.png'/></div>
  86.   <h3 class='adblockInfo__title'>
  87.   تم الكشف عن مانع الإعلانات</h3>
  88.   <p class='adblockInfo__text'>
  89.   الإعلانات تساعدنا في تمويل موقعنا، فالمرجو تعطيل مانع الإعلانات وساعدنا في تقديم محتوى حصري لك.
  90.   شكرًا لك على الدعم ❤️
  91.   </p>
  92.   </div>
  93.   </div>
  94.  
  95. <script>//<![CDATA[
  96. 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)}
  97. //]]>
  98. </script>
  99. </body>
  100. </html>
Advertisement
Add Comment
Please, Sign In to add comment