NSFW! gaybeeg.info, netdna-storage.com
Thanks for your update for gaybeeg.info. It works perfectly.
But netdna-storage.com still detected adblock
Example: http://netdna-storage.com/f/RLESMQXo/FX-FreshCollegeMeat.mp4.html

same as gaybeeg.info but with a race condition.
@uBlock-user Hum, I don't think it's race condition... I found the detection script, they got smarter this time... _blocked is now in a closure...
(function() {
var _blocked = 0;
function injectScript(src) {
var script = document.createElement('script');
script.async = true;
script.src = src;
script.addEventListener('error', function () {
_blocked++;
});
document.head.appendChild(script);
}
[
'//www.adnetworkperformance.com/a/display.php?r=1151825'
].map(function(src) {
injectScript(src);
});
$(function(){
if(_blocked > 0){
$('.warning').show();
$('.plan-footer-item').removeClass('btn--grid').removeAttr('data-href');
} else {
$('.plan-footer-item').each(function(i, el){
$(el).attr('href', $(el).data('href')).removeAttr('data-href');
});
}
});
})();
_blocked is now in a closure...
Killing injectScript should work too, but it doesn't, can you justify that ?
@uBlock-user As I said before, it's in a closure.
You said _blocked is in a closure, I'm talking about injectScript, if I use a.noAccess on it, it should break the script, instead nothing changes, and as it also happens it's the first thing that loads and the only script that loads from that domain.
@uBlock-user Well, _blocked and injectScript are both in the closure.
Hum, I think patching Element.prototype.addEventListener would work... The Core has some design flaw, that needs to be fixed before we can proceed...
FYI jQuery 3.2.1 was recently released, shouldn't you update the version to the latest ?
Link - http://blog.jquery.com/
@uBlock-user OK, thanks for letting me know. I don't think there is any rush in updating it.
This line would break their detection, along with everything else. So no, it's definitely not race condition. We need to patch Core before we can properly implement this so it only break detection, this can take some time.
a.win.Element.prototype.addEventListener = null;
I really appreciate your works. That site might also have some kind of IP tracking along with adblock detector. Hope you guys can make it work.
I suggested that because you mentioned The Core has some design flaw, so updating jQuery should patch the flaw too.
@uBlock-user Well, I guess... But the flaw we need to patch doesn't have anything to do with jQuery. The flaw is the way element properties are processed, we need to loop that so we can handle an arbitrarily deep property.
OK, I hacked a solution together, this should do the job until we can properly fix it. It is added to Script
if (a.domCmp(["netdna-storage.com"])) {
//Temporary fix
//Need to patch Core so this works:
//a.filter("Element.prototype.addEventListener", "error");
const _createElement = a.doc.createElement;
a.doc.createElement = function (what) {
if (what === "script") {
let elem = _createElement.apply(a.doc, arguments);
elem.addEventListener("error", function (e) {
e.stopPropagation();
});
return elem;
} else {
return _createElement.apply(a.doc, arguments);
}
};
}
Unfortunately, no change on my end.
It's working for me...


What's your Script version? Can you dump debug log?
v6.187
