[Resolved] gamedev.net [Anti-Adblock]

Adam

Filters Developer
Staff member
Moderator
Wait about 10 seconds - https://www.gamedev.net/
They use BlockAdblock.

upload_2017-5-24_12-16-24.png

Code:
gamedev.net#%#(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); })();
 

Alex302

Filters Developer
Staff member
Administrator
Please also check
Code:
@@||gamedev.net^$generichide,jsinject
instead of JS rule. I want it to Safari filter.
 

swiftcoder

New Member
This rule appears to be broken - the site isn't using BlockAdBlock anymore, and as far as I can tell this rule is blocking the main stylesheet from loading instead.
 
Top