From ca29035b4d9d9f93684eee105f56b3cd56805f02 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 15 Mar 2016 01:09:10 -0400 Subject: [PATCH] #1461: release candidate solution --- assets/checksums.txt | 2 +- assets/ublock/resources.txt | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index 3820f7f70..6027ed1da 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -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 diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index 5dd924066..df7283b46 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -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); }; })();