Anti AdBlock Script in Blogger
Anti AdBlock Script in Blogger
What is AdBlock
Actually, adblockers don't block ads – they block the web requests which are loaded in your web browser. In other words, adblockers stop advertisements from loading on your browser, allowing web pages to load faster and offering a better browsing experience.
Here’s a short definition: AdBlockers are software's (like plugins or browser extensions) that remove or alter web page advertising content.
A number of these applications replace that advertisement content with something else. Others don't replace it with anything, leaving holes or broken links where the advertisements would've been.
What do adblockers block? The specific content that is blocked varies from app to app. Some of them are intended to wipe out all advertising on a webpage.
Others explicitly stop things that could think twice about users' security, including the following codes that furnish advertisers with data about users’ interaction on the page. Right now, adblockers target the most "annoying" types of ads like pop-ups.
The Pros and Cons of Ad Blocking
Impeding advertisements, tracking codes, and other third-party scripts benefit users by increasing their page insight, further improving battery life, and protecting their privacy. Not to mention, you already know, eliminating the annoyance of interruptive ads.
At the same time, some argue they undermine the infrastructure of the web. All things considered, advertisements are the way a great deal of free substance on the web is monetarily upheld.
At the point when a product is free, you are the product. Your consideration is the thing that's being purchased and sold.
A large number of the most famous devices advertisers use to quantify and examine guests' exercises on their sites - and further develop client encounters - might be influenced.
Luckily, there are approaches to make content on the web that aren't influenced by adblockers.
It's just a matter of understanding what they are and how they might affect your website and then prioritizing strategies that aren't affected.
How to Install Anti AdBlock Script in Blogger
<style type='text/css'>
/* Animation */
@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}100%{opacity:1;transform:translateY(0)}}
@keyframes rubberBand{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}to{transform:scale3d(1,1,1)}}
/* Say Hi to Adblock */
#arlinablock{background:rgba(0,0,0,0.65);position:fixed;margin:auto;left:0;right:0;top:0;bottom:0;overflow:auto;z-index:999999;animation:fadeInDown 1s}
#arlinablock .header{margin:0 0 15px 0}
#arlinablock .inner{background:#e3482d;color:#fff;box-shadow:0 5px 20px rgba(0,0,0,0.1);text-align:center;width:600px;padding:40px;border-radius:5px;margin:7% auto 2% auto;animation:rubberBand 1s}
#arlinablock button{padding:10px 20px;border:0;background:rgba(0,0,0,0.15);color:#fff;margin:20px 5px;cursor:pointer;transition:all .3s}
#arlinablock button:hover{background:rgba(0,0,0,0.35);color:#fff;outline:none}
#arlinablock button.active,#arlinablock button:hover.active{background:#fff;color:#222;outline:none}
#arlinablock .fixblock{background:#fff;text-align:left;color:#000;padding:20px;height:250px;overflow:auto;line-height:30px}
#arlinablock .fixblock div{display:none}
#arlinablock .fixblock div.active{display:block}
#arlinablock ol{margin-left:20px}
@media(max-width:768px){#arlinablock .inner{width:calc(100% - 20px);margin:10px auto;padding:15px}}
</style>
<script type='text/javascript'>
//<![CDATA[
// Say Hi to Adblock
function downloadJSAtOnload(){var e=document.createElement("script");e.src="https://cdn.jsdelivr.net/gh/Arlina-Design/quasar@master/arlinablock.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;
//]]>
</script>
تعليقات
إرسال تعليق