1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

#1461: release candidate solution

This commit is contained in:
gorhill 2016-03-15 01:09:10 -04:00
parent ac05f70e4e
commit ca29035b4d
2 changed files with 13 additions and 5 deletions

View File

@ -5,7 +5,7 @@ dcc881135f01d1e264c2be59a8aaa1e0 assets/ublock/filters.txt
98088252cedafb8571cf61b91bea219e assets/ublock/badware.txt
5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt
d81312866b351765bb63082274d90293 assets/ublock/experimental.txt
162b48de24ed3b38af51eefb7d597fb3 assets/ublock/resources.txt
8ad5f73534954c02af023f9340c2f29e assets/ublock/resources.txt
059e0bfbf22bd242dda7b07389fe09a2 assets/ublock/filter-lists.json
3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt
a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt

View File

@ -838,12 +838,20 @@ disqus.com/embed.js application/javascript
# https://github.com/gorhill/uBlock/issues/1461
ytad-defuser.js application/javascript
(function() {
var bind = Function.prototype.bind;
Function.prototype.bind = function() {
'native code';
var bound = bind.apply(this, arguments);
if ( this.toString().indexOf('qoe.start15s') !== -1 ) {
bound.xpizqvtnrfkcjixkmdnu = true;
}
return bound;
};
var sto = window.setTimeout;
window.setTimeout = function(a, b) {
if ( b >= 15000 && b < 20000 ) {
console.trace('uBO> delay = ' + b);
return sto(a, 100);
if ( 'xpizqvtnrfkcjixkmdnu' in a ) {
b = 1;
}
return sto(a, b);
return sto(a, b);
};
})();