Webmaster... Check if an adblocking extensions is installed and...

Hardware and software discussion.

Moderator: EasyList authors

Post Reply
User avatar
Liste AR Author
Liste AR Author
Posts: 9250
Joined: Sun Jan 17, 2010 4:00 am
Reputation: 23
Location: /tmp

Webmaster... Check if an adblocking extensions is installed and...

Post by smed79 » Tue Jun 07, 2016 5:59 am


Do you have a blog, site, forum and your ou want to help your users? Here CSS/HTML code to check if an adblocking extensions is installed ... If Not suggest to install Adblock Plus https://adblockplus.org/


Code: Select all

.abp-box { font-family: "Source Sans Pro", sans-serif;width:360px; padding:10px 15px 10px 35px; margin:5px; color:#555; font-size:11px; top:15px; right:15px; z-index:1000; position:fixed; border-radius:10px; border:1px solid #f5aca6;}
.abp-box:hover{border:1px solid #f00;}
.abp-msg { background:#ffecec url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB1klEQVQ4jZWRv0sbURzAP4cptZpKJZZEaKFFIqSxo1tuSKaUbA4ldtB/IIOTIM4uYuyUTSg4NDQujTRwk6Ee7VIyhB7RK1ihxpq7doj00h+05dvlTi7lWvULD973+97n876Pr4Ivnq6sRE/L5Z3vhnGPgBhMJvci8/OZh4uLHa+m+OFv5XJ90jASQ0E08BV4NzW1d31u7kyiAFRWV2NfNjd3/gf/Lbk2O5t+tLxsKZeBgyQD2ZOTN5eBAa4AI7Z907LtHDpIA8SqVERExMhkpAHixS/HkQ/FYl9NROR4Y0N0EBquQESke3AgR5omr9z8McjLYlGOm0154as9y+dFROQ5SAjgaibD716PJxMTLIjQdFvNahq34nE+1ut89n1hMhIB4BAIAYzkcgwMD/NA0/jZ69H1XT7tdBhLp7nh5gsiAJjr6+AJhpJJAJx2G4DBfB4ALZs9gz65gu1CgfelEiEg7gl+jI+zWyhwWCpxZ3qa+MxM32vtrS0cX1f3gVF3r5iq2nJ0PfEaSLgHb4EwcOSDbgN3gV2fIJxK7StWtRrtrq3VHV1P/GvuQRFOpfZHl5bSANi1WsxU1ZY30vOWqaotu1aL9RkvKgmELyoxVbVlVatRP/MHemUmR52jr6cAAAAASUVORK5CYII=") no-repeat 10px 50%; }

Code: Select all

<div class="abp-box abp-msg GoogleAd">Installer <a href="https://adblockplus.org/" title="Installer Adblock Plus" target="_blank"><b>Adblock Plus</b></a> to surf the web without annoying ads! ABP can blocks banners, pop-ups, tracking, malware and more.</div>
•► Before posting, to find your answer fast, read Forum « RULES » and use « Search »
••► Don't post clickable links » use inline text bbcode notation « [ C ] » or « [ code ] »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest