Anti anti-adblock fix? hw.no?

Everything about using Adblock Plus on Google Chrome
Post Reply
sveinemann
Posts: 2
Joined: Tue Jul 02, 2013 5:33 pm

Anti anti-adblock fix? hw.no?

Post by sveinemann »

Hi,

The following site; hw.no, has this box that once a week begs for money. If you block the box itself, the rest of the page remains sort of faded out a bit with not clickable links. It's bad. Can this be fixed?

Example site: http://www.hardware.no/artikler/googles ... ere/135062

There is some javascript that looks like this:

</script>
<script src="http://www.hardware.no/js/adtech_ad.js"></script>
<script id="__inline">
(function($) {
Tek.onload.push(function() {
function checkAdBlock(again) {
if (!/*@cc_on!@*/false && (window.adblock || typeof(adblock) == "undefined")) {
$(window).trigger("adblockEnabled");
}
}
$(window).bind("adblockEnabled", function() {
Tek.Stats.ish.trackView({
req: 9,
pid: 7
});
if (!!window.localStorage) {
var block = parseInt(window.localStorage.getItem('block')) + 1 || 1;
window.localStorage.setItem('block',block);
if (block >= 2 && article.access == "public") {
Tek.Stats.ish.trackView({
req: 99,
pid: 7
});
Tek.adBlockMessage("article");
if (screen.width > 750) {
Tek.adBlockMessage("topbanner");
Tek.adBlockMessage("popup");
}
}
}
});
checkAdBlock();
});
})(jQuery);
</script>
I suspect this is what we need to prevent from running, thank you!
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Anti anti-adblock fix? hw.no?

Post by MonztA »

This exception rule should help:

Code: Select all

@@||hardware.no/js/adtech_ad.js
sveinemann
Posts: 2
Joined: Tue Jul 02, 2013 5:33 pm

Re: Anti anti-adblock fix? hw.no?

Post by sveinemann »

Thank you, so easy! Is there a syntax overview for this?
Dude

Re: Anti anti-adblock fix? hw.no?

Post by Dude »

Seems they have found a way to omit the fix.
Dude

Re: Anti anti-adblock fix? hw.no?

Post by Dude »

Apparently by now having the script inline. Can AB pick up on function names in scripts?

Code: Select all

<script id="__inline">
(function($) {
    Tek.onload.push(function() {
        function checkAdBlock(again) {
            if (!/*@cc_on!@*/false && (window.adblock || typeof(adblock) == "undefined")) {
                $(window).trigger("adblockEnabled");
            }
        }
        $(window).bind("adblockEnabled", function() {
            Tek.Stats.ish.trackView({
                req: 9,
                pid: 7
            });
                        if (!!window.localStorage) {
                var block = parseInt(window.localStorage.getItem('block')) + 1 || 1;
                window.localStorage.setItem('block',block);
                                if (block >= 2 && article.access == "public") {
                    Tek.Stats.ish.trackView({
                        req: 99,
                        pid: 7
                    });
                    if (screen.width > 750) {
                        Tek.adBlockMessage("popup");
                    }
                }
                            }
                    });
        checkAdBlock();
    });
})(jQuery);
</script> 
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Anti anti-adblock fix? hw.no?

Post by MonztA »

This should be fixed in EasyList.
Dude

Re: Anti anti-adblock fix? hw.no?

Post by Dude »

Seems it does. :)
Ladiesman217

Re: Anti anti-adblock fix? hw.no?

Post by Ladiesman217 »

They're at it again.

It looks like this is what checks AdBlock. It's the only script in the source that's got AdBlock in it..

Code: Select all

<script>
(function($) {

                    
var _0xa465=["\x73\x75\x62\x73\x74\x72\x69\x6E\x67","","\x72\x65\x70\x6C\x61\x63\x65","\x72\x61\x6E\x64\x6F\x6D","\x66\x6C\x6F\x6F\x72","\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x2F\x61\x64\x73\x2F\x0D\x61\x64\x2E\x6A\x70\x67\x22\x20\x2F\x3E","\x68\x74\x6D\x6C","\x62\x6F\x64\x79","\x61\x70\x70\x65\x6E\x64\x54\x6F","\x3C","\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x62\x6C\x6F\x63\x6B\x3B\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x61\x62\x73\x6F\x6C\x75\x74\x65\x3B\x20\x74\x6F\x70\x3A\x20\x2D\x31\x30\x30\x30\x30\x70\x78\x3B\x20\x6C\x65\x66\x74\x3A\x20\x2D\x31\x30\x30\x30\x30\x70\x78\x3B\x20\x6F\x70\x61\x63\x69\x74\x79\x3A\x20\x30\x3B\x20\x68\x65\x69\x67\x68\x74\x3A\x20\x32\x30\x70\x78\x3B\x20\x77\x69\x64\x74\x68\x3A\x20\x32\x30\x70\x78\x3B\x22\x20\x69\x64\x3D\x22","\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x61\x64\x2D\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x22\x20\x2F\x3E","\x61\x62\x45","\x69\x73\x68\x49\x64","\x63\x6F\x6E\x66\x69\x67","\x74\x72\x61\x63\x6B\x56\x69\x65\x77","\x69\x73\x68","\x53\x74\x61\x74\x73","\x6C\x6F\x63\x61\x6C\x53\x74\x6F\x72\x61\x67\x65","\x62\x6C\x6F\x63\x6B","\x67\x65\x74\x49\x74\x65\x6D","\x73\x65\x74\x49\x74\x65\x6D","\x61\x63\x63\x65\x73\x73","\x70\x75\x62\x6C\x69\x63","\x77\x69\x64\x74\x68","\x70\x6F\x70\x75\x70","\x61\x64\x42\x6C\x6F\x63\x6B\x4D\x65\x73\x73\x61\x67\x65","\x62\x69\x6E\x64","\x6C\x65\x6E\x67\x74\x68","\x23","\x64\x69\x73\x70\x6C\x61\x79","\x63\x73\x73","\x6E\x6F\x6E\x65","\x20\x69\x6D\x67","\x63\x6C\x61\x73\x73","\x61\x74\x74\x72","\x74\x72\x69\x67\x67\x65\x72","\x72\x65\x6D\x6F\x76\x65","\x69\x65","\x62\x72\x6F\x77\x73\x65\x72","\x70\x75\x73\x68","\x72\x65\x61\x64\x79","\x61\x64\x62\x6C\x6F\x63\x6B","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6F\x6E\x6C\x6F\x61\x64"];var aa=Math[_0xa465[3]]().toString(36)[_0xa465[2]](/(\d+)/g,_0xa465[1])[_0xa465[0]](2,9),bb=aa+Math[_0xa465[4]](Math[_0xa465[3]]()*1111122);$(_0xa465[9]+aa+_0xa465[10]+bb+_0xa465[11])[_0xa465[8]](_0xa465[7])[_0xa465[6]](_0xa465[5]);$(window)[_0xa465[27]](_0xa465[12],function (){Tek[_0xa465[17]][_0xa465[16]][_0xa465[15]]({req:9,pid:Tek[_0xa465[14]][_0xa465[13]]});if(!!window[_0xa465[18]]){var _0x30b0x3=parseInt(window[_0xa465[18]][_0xa465[20]](_0xa465[19]))+1||1;window[_0xa465[18]][_0xa465[21]](_0xa465[19],_0x30b0x3);if(_0x30b0x3>=2&&article[_0xa465[22]]==_0xa465[23]){Tek[_0xa465[17]][_0xa465[16]][_0xa465[15]]({req:99,pid:Tek[_0xa465[14]][_0xa465[13]]});if(screen[_0xa465[24]]>750){Tek[_0xa465[26]](_0xa465[25]);} ;} ;} ;} );Tek[_0xa465[41]][_0xa465[40]](function (_0x30b0x4){function _0x30b0x5(){if(!_0x30b0x4(_0xa465[29]+bb)[_0xa465[28]]||_0x30b0x4(_0xa465[29]+bb)[_0xa465[31]](_0xa465[30])==_0xa465[32]||_0x30b0x4(_0xa465[29]+bb+_0xa465[33])[_0xa465[31]](_0xa465[30])==_0xa465[32]||_0x30b0x4(_0xa465[29]+bb+_0xa465[33])[_0xa465[35]](_0xa465[34])){_0x30b0x4(window)[_0xa465[36]](_0xa465[12]);} ;_0x30b0x4(_0xa465[29]+bb)[_0xa465[37]]();_0x30b0x4(window)[_0xa465[27]](_0xa465[12],null);} ;if(!Tek[_0xa465[39]][_0xa465[38]]){_0x30b0x5();} else {setTimeout(function (){_0x30b0x5();} ,1000);} ;} );Tek[_0xa465[44]][_0xa465[40]](function (_0x30b0x4){function _0x30b0x6(_0x30b0x7){if((!false&&(window[_0xa465[42]]|| typeof (adblock)==_0xa465[43]))&&!Tek[_0xa465[39]][_0xa465[38]]){_0x30b0x4(window)[_0xa465[36]](_0xa465[12]);} ;} ;_0x30b0x6();} );
        
            
})(jQuery);
</script>
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Re: Anti anti-adblock fix? hw.no?

Post by MonztA »

Fixed again.
Ladiesman217

Re: Anti anti-adblock fix? hw.no?

Post by Ladiesman217 »

Still doesn't work.. :(
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Anti anti-adblock fix? hw.no?

Post by mapx »

did you manually update your subscriptions ?
Ladiesman217

Re: Anti anti-adblock fix? hw.no?

Post by Ladiesman217 »

Yes.

I think they're constantly checking for workarounds and implements something new. Cat and mouse.
Tek

Re: Anti anti-adblock fix? hw.no?

Post by Tek »

As someone said, its back. Is the war of ad lost?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Anti anti-adblock fix? hw.no?

Post by mapx »

I tried in firefox (easylist filters) and ...it works, but doesnt work in chrome
colaflaske

Re: Anti anti-adblock fix? hw.no?

Post by colaflaske »

If you'd like, you could always block jQuery from running all together. You will lose the comments though, but who has ever cared for them, am I right?

Block: http://static.tek.no/js/jquery.min.js?cb=1369321785
Post Reply