[Resolved] [Anti-Adblock] https://thebeast1.com/

Discussion in 'Missed Ads' started by SpartacusSystem, May 25, 2017.

Tags:
  1. SpartacusSystem

    SpartacusSystem Member

    Joined:
    Jul 29, 2016
    Messages:
    186
    Seeing as I've ditched AAK and Adblock Protector Script, I could do with a rule for this site?

    Thank you!

    upload_2017-5-25_21-11-54.png
     

    Attached Files:

  2. Adam

    Adam Filters Developer Staff Member Moderator

    Joined:
    Aug 17, 2014
    Messages:
    1,448
    You can try this rule:
    Code:
    thebeast1.com#@##banner_ad
    or this:
    Code:
    thebeast1.com#%#(function() { var sto = window.setTimeout, re = /\.bab_elementid.$/; window.setTimeout = function(a, b) { if ( typeof a !== 'string' || !re.test(a) ) { return sto(a, b); } }.bind(window); var signatures = [ ['blockadblock'], ['babasbm'], [/getItem\('babn'\)/], ['getElementById','String.fromCharCode','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','charAt','DOMContentLoaded','AdBlock','addEventListener','doScroll','fromCharCode','<<2|r>>4','sessionStorage','clientWidth','localStorage','Math','random'] ]; var check = function(s) { var tokens, match, j, token, pos; for ( var i = 0; i < signatures.length; i++ ) { tokens = signatures[i]; match = 0; for ( j = 0, pos = 0; j < tokens.length; j++ ) { token = tokens[j]; pos = token instanceof RegExp ? s.search(token) : s.indexOf(token); if ( pos !== -1 ) { match += 1; } } if ( (match / tokens.length) >= 0.8 ) { return true; } } return false; }; var realEval = window.eval; window.eval = function(a) { if ( !check(a) ) { return realEval(a); } var el = document.body; if ( el ) { el.style.removeProperty('visibility'); } el = document.getElementById('babasbmsgx'); if ( el ) { el.parentNode.removeChild(el); } }.bind(window); })();
     
  3. SpartacusSystem

    SpartacusSystem Member

    Joined:
    Jul 29, 2016
    Messages:
    186
    First rule works fine. Thank you.
     
  4. seanl

    seanl Well-Known Member

    Joined:
    Oct 17, 2016
    Messages:
    1,970
    Added.