Block Adblock and Stop ad blocking on your site with this simple...

Block Adblock and Stop ad blocking on your site with this simple script

205
0
SHARE

How much revenue do you lose every month to ad blockers?

Block Adblock and Stop ad blocking on your site with this simple script

Leaving ethical discussions aside, it is nonetheless true that ad-blocking is a real problem for bloggers and site owners the world over whose only source of income is ad revenue. With that understood, let’s look objectively at some tactics you can use to deal with ad-block users, and the effects those tactics might have.

If you are a website owner, there is a pretty good chance that you rely on some form of advertising to pay for your hosting bills. And if you are lucky enough to have more than a few people visiting your site, you might even be able to pay yourself a supplement to your salary as a compensation for your hard work.

On the other side there are the people that browse the web. They are tired of being bombarded with intrusive advertising, flashy banners and announcements that ruin their browsing experience. They don’t need to be congratulated on being the millionth visitor of your website, they don’t want to shoot five iphones, their only wish is to read what you have to say.

As it is much easier for users to hide ads than for the entire industry to develop advertising ethics, a simple solution quickly emerged.

By using this code snippet, you can protect your site from ad-blocking visitors and recover lost revenue.
Place just before the close of the </body> tag on your page

 

<script type="text/javascript" charset="utf-8">// <![CDATA[
// Place this code snippet near the footer of your page before the close of the /body tag
// LEGAL NOTICE: The content of this website and all associated program code are protected under the Digital Millennium Copyright Act. Intentionally circumventing this code may constitute a violation of the DMCA.
                            
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';k O=\'\',24=\'1Z\';1P(k i=0;i<12;i++)O+=24.V(z.H(z.K()*24.E));k 2R=3,2y=\'2S\',2z=\'2S\',2u=B(e){k o=!1,i=B(){q(j.1f){j.2U(\'2k\',t);D.2U(\'2b\',t)}N{j.2I(\'2O\',t);D.2I(\'2q\',t)}},t=B(){q(!o&&(j.1f||3H.2N===\'2b\'||j.2s===\'2j\')){o=!0;i();e()}};q(j.2s===\'2j\'){e()}N q(j.1f){j.1f(\'2k\',t);D.1f(\'2b\',t)}N{j.2t(\'2O\',t);D.2t(\'2q\',t);k n=!1;2r{n=D.4E==4H&&j.1V}2n(a){};q(n&&n.2o){(B r(){q(o)G;2r{n.2o(\'13\')}2n(t){G 35(r,50)};o=!0;i();e()})()}}};D[\'\'+O+\'\']=(B(){k e={e$:\'1Z+/=\',3M:B(t){k l=\'\',d,a,i,s,c,r,n,o=0;t=e.t$(t);1d(o<t.E){d=t.14(o++);a=t.14(o++);i=t.14(o++);s=d>>2;c=(d&3)<<4|a>>4;r=(a&15)<<2|i>>6;n=i&63;q(2W(a)){r=n=64}N q(2W(i)){n=64};l=l+T.e$.V(s)+T.e$.V(c)+T.e$.V(r)+T.e$.V(n)};G l},X:B(t){k n=\'\',d,c,l,s,a,i,r,o=0;t=t.1p(/[^A-3P-4i-9\\+\\/\\=]/g,\'\');1d(o<t.E){s=T.e$.1D(t.V(o++));a=T.e$.1D(t.V(o++));i=T.e$.1D(t.V(o++));r=T.e$.1D(t.V(o++));d=s<<2|a>>4;c=(a&15)<<4|i>>2;l=(i&3)<<6|r;n=n+P.S(d);q(i!=64){n=n+P.S(c)};q(r!=64){n=n+P.S(l)}};n=e.n$(n);G n},t$:B(e){e=e.1p(/;/g,\';\');k n=\'\';1P(k o=0;o<e.E;o++){k t=e.14(o);q(t<1x){n+=P.S(t)}N q(t>4b&&t<49){n+=P.S(t>>6|48);n+=P.S(t&63|1x)}N{n+=P.S(t>>12|2T);n+=P.S(t>>6&63|1x);n+=P.S(t&63|1x)}};G n},n$:B(e){k o=\'\',t=0,n=4t=1v=0;1d(t<e.E){n=e.14(t);q(n<1x){o+=P.S(n);t++}N q(n>47&&n<2T){1v=e.14(t+1);o+=P.S((n&31)<<6|1v&63);t+=2}N{1v=e.14(t+1);2M=e.14(t+2);o+=P.S((n&15)<<12|(1v&63)<<6|2M&63);t+=3}};G o}};k r=[\'46==\',\'45\',\'42=\',\'43\',\'44\',\'4a=\',\'4h=\',\'4g=\',\'4f\',\'4c\',\'4d=\',\'4e=\',\'41\',\'40\',\'3O=\',\'3Q\',\'3N=\',\'3J=\',\'3K=\',\'3L=\',\'3R=\',\'3S=\',\'3Y==\',\'3Z==\',\'3W==\',\'3T==\',\'3U=\',\'3V\',\'4j\',\'4k\',\'4J\',\'4K\',\'4I\',\'4F==\',\'4G=\',\'4L=\',\'4M=\',\'4S==\',\'4T=\',\'4R\',\'4Q=\',\'4N=\',\'4O==\',\'4P=\',\'4D==\',\'4C==\',\'4q=\',\'4r=\',\'4s\',\'4p==\',\'4o==\',\'4l\',\'4m==\',\'4n=\'],y=z.H(z.K()*r.E),w=e.X(r[y]),b=w,M=1,u=\'#3I\',a=\'#4u\',W=\'#4A\',Y=\'#4B\',Q=\'\',g=\'4z!\',v=\'4y 4v 4w 4x\\\'4U 3a 39 2e 2m. 38\\\'s 3b.  3c 3f\\\'t?\',p=\'3e 37 3d-3g, 36 3A\\\'t 3z 3y T 3w 3x.\',s=\'I 3B, I 3C 3h 3G 2e 2m.  3F 3E 3D!\',o=0,f=0,n=\'3v.3u\',l=0,C=t()+\'.2V\';B h(e){q(e)e=e.1H(e.E-15);k n=j.2p(\'3m\');1P(k o=n.E;o--;){k t=P(n[o].1K);q(t)t=t.1H(t.E-15);q(t===e)G!0};G!1};B m(e){q(e)e=e.1H(e.E-15);k t=j.3l;x=0;1d(x<t.E){1j=t[x].1I;q(1j)1j=1j.1H(1j.E-15);q(1j===e)G!0;x++};G!1};B t(e){k o=\'\',t=\'1Z\';e=e||30;1P(k n=0;n<e;n++)o+=t.V(z.H(z.K()*t.E));G o};B i(o){k i=[\'3k\',\'3i==\',\'3j\',\'3n\',\'2L\',\'3o==\',\'3t=\',\'3s==\',\'3r=\',\'3p==\',\'3q==\',\'3X==\',\'4Y\',\'6j\',\'6e\',\'2L\'],a=[\'2Q=\',\'6l==\',\'6o==\',\'6b==\',\'5T=\',\'5P\',\'5Q=\',\'5V=\',\'2Q=\',\'5X\',\'5Y==\',\'5W\',\'5U==\',\'6g==\',\'6k==\',\'5S=\'];x=0;1Q=[];1d(x<o){c=i[z.H(z.K()*i.E)];d=a[z.H(z.K()*a.E)];c=e.X(c);d=e.X(d);k r=z.H(z.K()*2)+1;q(r==1){n=\'//\'+c+\'/\'+d}N{n=\'//\'+c+\'/\'+t(z.H(z.K()*20)+4)+\'.2V\'};1Q[x]=1T 1S();1Q[x].21=B(){k e=1;1d(e<7){e++}};1Q[x].1K=n;x++}};B Z(e){};G{34:B(e,a){q(6u j.J==\'6q\'){G};k o=\'0.1\',a=b,t=j.1b(\'1o\');t.1m=a;t.8.1l=\'1N\';t.8.13=\'-1n\';t.8.U=\'-1n\';t.8.1y=\'29\';t.8.19=\'6n\';k d=j.J.2i,r=z.H(d.E/2);q(r>15){k n=j.1b(\'28\');n.8.1l=\'1N\';n.8.1y=\'1u\';n.8.19=\'1u\';n.8.U=\'-1n\';n.8.13=\'-1n\';j.J.66(n,j.J.2i[r]);n.1a(t);k i=j.1b(\'1o\');i.1m=\'2d\';i.8.1l=\'1N\';i.8.13=\'-1n\';i.8.U=\'-1n\';j.J.1a(i)}N{t.1m=\'2d\';j.J.1a(t)};l=6v(B(){q(t){e((t.1W==0),o);e((t.1X==0),o);e((t.1L==\'2D\'),o);e((t.1M==\'2Y\'),o);e((t.1E==0),o)}N{e(!0,o)}},1U)},1G:B(t,f){q((t)&&(o==0)){o=1;D[\'\'+O+\'\'].1J();D[\'\'+O+\'\'].1G=B(){G}}N{k p=e.X(\'62\'),d=j.61(p);q((d)&&(o==0)){q(2y==\'2A\'){k l=\'5Z=\';l=e.X(l);q(h(l)){q(d.1B.1p(/\\s/g,\'\').E==0){D[\'\'+O+\'\'].1J()}}};o=1}N{k u=!1;q(o==0){q(2z==\'2A\'){q(!D[\'\'+O+\'\'].2w){k r=[\'67==\',\'6a==\',\'69=\',\'68=\',\'5R=\'],c=r.E,a=r[z.H(z.K()*c)],n=a;1d(a==n){n=r[z.H(z.K()*c)]};a=e.X(a);n=e.X(n);i(z.H(z.K()*2)+1);k m=1T 1S(),s=1T 1S();m.21=B(){i(z.H(z.K()*2)+1);s.1K=n;i(z.H(z.K()*2)+1)};s.21=B(){o=1;i(z.H(z.K()*3)+1);D[\'\'+O+\'\'].1J()};m.1K=a;i(z.H(z.K()*3)+1);D[\'\'+O+\'\'].2w=!0};D[\'\'+O+\'\'].1G=B(){G}}}}}},1J:B(){q(f==1){k M=2x.4V(\'2l\');q(M>0){G!0}N{2x.6c(\'2l\',(z.K()+1)*1U)}};k c=\'6p==\';c=e.X(c);q(!m(c)){k h=j.1b(\'6r\');h.1Y(\'6t\',\'6s\');h.1Y(\'2N\',\'1k/6m\');h.1Y(\'1I\',c);j.2p(\'6f\')[0].1a(h)};6d(l);j.J.1B=\'\';j.J.8.11+=\'R:1u !16\';j.J.8.11+=\'1s:1u !16\';k Q=j.1V.1X||D.33||j.J.1X,y=D.6h||j.J.1W||j.1V.1W,r=j.1b(\'1o\'),b=t();r.1m=b;r.8.1l=\'2v\';r.8.13=\'0\';r.8.U=\'0\';r.8.19=Q+\'1w\';r.8.1y=y+\'1w\';r.8.2g=u;r.8.23=\'6i\';j.J.1a(r);k d=\'<a 1I="5N://5f.5e" 8="F-1c:10.5d;F-1i:1g-1h;17:5b;">5c 5g 5h 5l 2a 5k</a>\';d=d.1p(\'5j\',t());d=d.1p(\'5i\',t());k i=j.1b(\'1o\');i.1B=d;i.8.1l=\'1N\';i.8.1t=\'1C\';i.8.13=\'1C\';i.8.19=\'5a\';i.8.1y=\'59\';i.8.23=\'2c\';i.8.1E=\'.6\';i.8.2H=\'2C\';i.1f(\'51\',B(){n=n.4Z(\'\').5O().4W(\'\');D.2K.1I=\'//\'+n});j.1R(b).1a(i);k o=j.1b(\'1o\'),L=t();o.1m=L;o.8.1l=\'2v\';o.8.U=y/7+\'1w\';o.8.4X=Q-52+\'1w\';o.8.53=y/3.5+\'1w\';o.8.2g=\'#58\';o.8.23=\'2c\';o.8.11+=\'F-1i: "57 56", 1q, 1r, 1g-1h !16\';o.8.11+=\'54-1y: 55 !16\';o.8.11+=\'F-1c: 5m !16\';o.8.11+=\'1k-1A: 1z !16\';o.8.11+=\'1s: 5n !16\';o.8.1L+=\'2a\';o.8.2G=\'1C\';o.8.5G=\'1C\';o.8.5F=\'2X\';j.J.1a(o);o.8.5E=\'1u 5C 5D -5H 5I(0,0,0,0.3)\';o.8.1M=\'2h\';k w=30,Z=22,x=18,C=18;q((D.33<32)||(5M.19<32)){o.8.2J=\'50%\';o.8.11+=\'F-1c: 5L !16\';o.8.2G=\'5K;\';i.8.2J=\'65%\';k w=22,Z=18,x=12,C=12};o.1B=\'<2f 8="17:#5J;F-1c:\'+w+\'1O;17:\'+a+\';F-1i:1q, 1r, 1g-1h;F-1F:5B;R-U:1e;R-1t:1e;1k-1A:1z;">\'+g+\'</2f><2Z 8="F-1c:\'+Z+\'1O;F-1F:5A;F-1i:1q, 1r, 1g-1h;17:\'+a+\';R-U:1e;R-1t:1e;1k-1A:1z;">\'+v+\'</2Z><5s 8=" 1L: 2a;R-U: 0.2P;R-1t: 0.2P;R-13: 26;R-2B: 26; 2F:5r 5q #5o; 19: 25%;1k-1A:1z;">

\'+p+\'

<28 5t="T.8.1E=.9;" 5u="T.8.1E=1;" 1m="\'+t()+\'" 8="2H:2C;F-1c:\'+C+\'1O;F-1i:1q, 1r, 1g-1h; F-1F:2E;2F-5z:2X;1s:1e;5y-17:\'+W+\';17:\'+Y+\';1s-13:29;1s-2B:29;19:60%;R:26;R-U:1e;R-1t:1e;" 5x="D.2K.5v();">\'+s+\'</28>

\'}}})();2u(B(){q(j.J){j.J.8.1M=\'2h\'};q(j.1R(\'27\')){j.1R(\'27\').8.1M=\'2D\';j.1R(\'27\').8.1L=\'2Y\'};35(\'D[\\\'\\\' + O + \\\'\\\'].34(D[\\\'\\\' + O + \\\'\\\'].1G, D[\\\'\\\' + O + \\\'\\\'].5w)\',2R*1U)});',62,404,'||||||||style|||||||||||document|var||||||if|||||||||Math||function||window|length|font|return|floor||body|random|||else|pffGXlUoxNis|String||margin|fromCharCode|this|top|charAt||decode||||cssText||left|charCodeAt||important|color||width|appendChild|createElement|size|while|10px|addEventListener|sans|serif|family|thisurl|text|position|id|5000px|DIV|replace|Helvetica|geneva|padding|bottom|0px|c2|px|128|height|center|align|innerHTML|30px|indexOf|opacity|weight|MrWwhjpciA|substr|href|ZAFehDqcRN|src|display|visibility|absolute|pt|for|spimg|getElementById|Image|new|1000|documentElement|clientHeight|clientWidth|setAttribute|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789||onerror||zIndex|dFiqCHValF||auto|babasbmsgx|div|60px|block|load|10000|banner_ad|ad|h3|backgroundColor|visible|childNodes|complete|DOMContentLoaded|babn|blocker|catch|doScroll|getElementsByTagName|onload|try|readyState|attachEvent|sCTpYbzodH|fixed|ranAlready|sessionStorage|aDefOne|aDefTwo|yes|right|pointer|hidden|300|border|marginLeft|cursor|detachEvent|zoom|location|cGFydG5lcmFkcy55c20ueWFob28uY29t|c3|type|onreadystatechange|5em|ZmF2aWNvbi5pY28|CibhniLDkC|no|224|removeEventListener|jpg|isNaN|15px|none|h1|||640|innerWidth|bab|setTimeout|we|without|That|an|using|okay|Who|advertising|But|doesn|income|disabled|YWQubWFpbC5ydQ|anVpY3lhZHMuY29t|YWRuLmViYXkuY29t|styleSheets|script|YWQuZm94bmV0d29ya3MuY29t|YS5saXZlc3BvcnRtZWRpYS5ldQ|cHJvbW90ZS5wYWlyLmNvbQ|YWRzLnlhaG9vLmNvbQ|Y2FzLmNsaWNrYWJpbGl0eS5jb20|YWR2ZXJ0aXNpbmcuYW9sLmNvbQ|YWdvZGEubmV0L2Jhbm5lcnM|kcolbdakcolb|moc|site|awesome|making|keep|can|understand|have|in|me|Let|my|event|EEEEEE|QWRGcmFtZTI|QWRGcmFtZTM|QWRGcmFtZTQ|encode|QWRGcmFtZTE|QWQ3Mjh4OTA|Za|QWRBcmVh|QWRMYXllcjE|QWRMYXllcjI|QWRzX2dvb2dsZV8wNA|RGl2QWQ|RGl2QWQx|QWRzX2dvb2dsZV8wMw|YWRzLnp5bmdhLmNvbQ|QWRzX2dvb2dsZV8wMQ|QWRzX2dvb2dsZV8wMg|QWQzMDB4MjUw|QWQzMDB4MTQ1|YWQtZnJhbWU|YWQtaGVhZGVy|YWQtaW1n|YWRCYW5uZXJXcmFw|YWQtbGVmdA|191|192|2048|YWQtaW5uZXI|127|YWQtY29udGFpbmVy|YWQtY29udGFpbmVyLTE|YWQtY29udGFpbmVyLTI|YWQtZm9vdGVy|YWQtbGI|YWQtbGFiZWw|z0|RGl2QWQy|RGl2QWQz|Z29vZ2xlX2Fk|b3V0YnJhaW4tcGFpZA|c3BvbnNvcmVkX2xpbms|YWRzZW5zZQ|cG9wdXBhZA|YWRzZXJ2ZXI|YmFubmVyaWQ|YWRzbG90|c1|777777|looks|like|you|It|Welcome|adb8ff|FFFFFF|YWRfY2hhbm5lbA|IGFkX2JveA|frameElement|QWRJbWFnZQ|QWREaXY|null|RGl2QWRD|RGl2QWRB|RGl2QWRC|QWRCb3gxNjA|QWRDb250YWluZXI|YWRiYW5uZXI|YWRBZA|YmFubmVyYWQ|YWRCYW5uZXI|YmFubmVyX2Fk|Z2xpbmtzd3JhcHBlcg|YWRUZWFzZXI|re|getItem|join|minWidth|YWRzYXR0LmFiY25ld3Muc3RhcndhdmUuY29t|split||click|120|minHeight|line|normal|Black|Arial|fff|40px|160px|black|Stop|5pt|com|ktechpit|losing|revenue|FILLVECTID2|FILLVECTID1|adblockers|and|16pt|12px|CCC|35px|solid|1px|hr|onmouseover|onmouseout|reload|qaxJXJFCPC|onclick|background|radius|500|200|14px|24px|boxShadow|borderRadius|marginRight|8px|rgba|999|45px|18pt|screen|http|reverse|MTM2N19hZC1jbGllbnRJRDI0NjQuanBn|YWRjbGllbnQtMDAyMTQ3LWhvc3QxLWJhbm5lci1hZC5qcGc|Ly93d3cuZG91YmxlY2xpY2tieWdvb2dsZS5jb20vZmF2aWNvbi5pY28|YWR2ZXJ0aXNlbWVudC0zNDMyMy5qcGc|c2t5c2NyYXBlci5qcGc|YmFubmVyX2FkLmdpZg|Q0ROLTMzNC0xMDktMTM3eC1hZC1iYW5uZXI|ZmF2aWNvbjEuaWNv|YWQtbGFyZ2UucG5n|c3F1YXJlLWFkLnBuZw|Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanM||querySelector|aW5zLmFkc2J5Z29vZ2xl||||insertBefore|Ly93d3cuZ29vZ2xlLmNvbS9hZHNlbnNlL3N0YXJ0L2ltYWdlcy9mYXZpY29uLmljbw|Ly9hZHMudHdpdHRlci5jb20vZmF2aWNvbi5pY28|Ly9hZHZlcnRpc2luZy55YWhvby5jb20vZmF2aWNvbi5pY28|Ly93d3cuZ3N0YXRpYy5jb20vYWR4L2RvdWJsZWNsaWNrLmljbw|NzIweDkwLmpwZw|setItem|clearInterval|YXMuaW5ib3guY29t|head|bGFyZ2VfYmFubmVyLmdpZg|innerHeight|9999|YWRzYXR0LmVzcG4uc3RhcndhdmUuY29t|d2lkZV9za3lzY3JhcGVyLmpwZw|YmFubmVyLmpwZw|css|468px|NDY4eDYwLmpwZw|Ly95dWkueWFob29hcGlzLmNvbS8zLjE4LjEvYnVpbGQvY3NzcmVzZXQvY3NzcmVzZXQtbWluLmNzcw|undefined|link|stylesheet|rel|typeof|setInterval'.split('|'),0,{}))
// ]]></script>
SHARE