video.repubblica.it

Various discussions related to filter list maintenance

Moderator: njones

Post Reply
ekerazha
Posts: 9
Joined: Wed May 16, 2012 10:10 am

video.repubblica.it

Post by ekerazha »

Adblock is detected... example:

Code: Select all

http://video.repubblica.it/home

Code: Select all

<script>    
var adblock_abtest_message = "";
console.log("1");
window.wt_adblock = -1;
var adBlock_detector = {
    hasAdBlock: null,
    getAdvTag: function() { return document.getElementById('tester'); },
    resetAdvTag: function(tnum) { try { document.getElementById('tester').innerHTML = ''; } catch(e) {} },
    rewriteAdvTag: function(tnum) { try { document.getElementById('tester').innerHTML = '<div id="adv-oas-'+tnum+'" style="display:none">An Adv Advertisement</div>'; } catch(e) {} },
    checkAdvTag: function() {
        adBlock_detector.hasAdBlock = false;
        if (adBlock_detector.getAdvTag() === undefined || adBlock_detector.getAdvTag() === null) {
            adBlock_detector.hasAdBlock = true;            
            window.wt_adblock = 1;            
        } else {
            window.wt_adblock = 0;
        }
    },
    detectAdBlock: function() {
        var tnum = Math.round( Math.random()*100);
        adBlock_detector.resetAdvTag(tnum);
        adBlock_detector.checkAdvTag();
        return adBlock_detector.hasAdBlock;
    },
    forceDetectAdBlock: function() {
        adBlock_detector.resetAdvTag();
        adBlock_detector.rewriteAdvTag();
        return adBlock_detector.detectAdBlock();
    }
};
adBlock_detector.detectAdBlock();
adBlock_exclusionAutoplay = false;
adBlock_abtest_group = false;
                    console.log("2");
</script>  
Any idea?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: video.repubblica.it

Post by mapx »

add

Code: Select all

@@||repstatic.it/*ad
ekerazha
Posts: 9
Joined: Wed May 16, 2012 10:10 am

Re: video.repubblica.it

Post by ekerazha »

Nice solution, thanks.
Mikereal
Posts: 5
Joined: Tue Oct 20, 2015 7:08 pm

Re: video.repubblica.it

Post by Mikereal »

new block here. Please Help me.

Code: Select all

http://scuola.repubblica.it/blog/video/agnelli-musica-per-dire-la-verita/?video_rep_id=269746&ref=RHRS-BS-I0-C6-P4-S2.6-T1
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: video.repubblica.it

Post by mapx »

Post Reply