AdguardTeam / AdguardFilters

AdGuard Content Blocking Filters
https://adguard.com/
GNU General Public License v3.0
3.17k stars 632 forks source link

Anti adblock script on desirulez.net #5252

Closed Elenve closed 7 years ago

Elenve commented 7 years ago

Description:

Anti adblock script

Screenshot: ![image](https://cloud.githubusercontent.com/assets/17320558/26765113/ba758694-497d-11e7-8f1c-55e3b4a93f85.png)

Steps to reproduce the problem:

http://www.desirulez.me/

System configuration

Information value
Operating system: Windows
Browser: Chrome
Adguard version: 6.2.357
Adguard driver (Windows): WFP
Stealth mode options(Windows) Off
Adguard filters: User, English. Russian, Spyware, Social media
Ticket ID (if exists): 1531498
theseanl commented 7 years ago

Not reproduced on my end.

Alex-302 commented 7 years ago

I don't see BlockAdBlock script on the pages at the moment. Please check again.

AdamWr commented 7 years ago

I also can not reproduce this directly on desirulez.net, but I found in this topic (http://www.desirulez.me/threads/1007980-Kaabil-2017-Watch-Online-Download) links to movies where I see BlockAdblock message - http://conference-hosting.us/watchvideo.php?url=zeibv87sxil3 and here - http://business-solutions.us/watchvideo.php?id=vri0oh4qp6eu

Rules:

`conference-hosting.us#@##banner_ad` `business-solutions.us#%#(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); })();`


Can I add them to English Filter?

Alex-302 commented 7 years ago

Sure. If the first rule helps, add only it.

AdamWr commented 7 years ago

Fixed.