diff --git a/assets/checksums.txt b/assets/checksums.txt index 6caef1aeb..9c6d3544e 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -5,7 +5,7 @@ 146704ad1c0393e342afdb416762c183 assets/ublock/badware.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt f9bb491dbba453752199e8378ee152bb assets/ublock/experimental.txt -f215de20c0944dcb286757966a233f42 assets/ublock/resources.txt +99b9e4aae529e76b402d7d2996b9e28a assets/ublock/resources.txt fe4e995a7a828da38fcb0188c3996dbc assets/ublock/filter-lists.json 50573388b525ede1a920cd4b4ee7fbf0 assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt 61cc16cf02e034370f0f47bc17c46551 assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index 3041b2c05..001be3756 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -203,11 +203,12 @@ google-analytics.com/analytics.js application/javascript if ( len === 0 ) { return; } + var f = arguments[len-1]; + if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { + return; + } try { - var f = arguments[len-1]; - if ( typeof f === 'object' && f !== null && typeof f.hitCallback === 'function' ) { - f.hitCallback(); - } + f.hitCallback(); } catch (ex) { } }; @@ -361,8 +362,8 @@ i.ligatus.com/*/angular-tag.js application/javascript # Yavli ads. These are blocked using an inline script tag filter, but this -# works only on Firefox. So we side-load the following script using whatever -# script is normally blocked on the site. +# works only on Firefox. So we side-load the following script for sites +# suffering Yavli's click-bait ads. yavli-defuser.js application/javascript (function() { var descriptor = { @@ -431,6 +432,7 @@ forbes-defuser.js application/javascript }); })(); + # https://forums.lanik.us/viewtopic.php?f=62&t=25212 impspcabe-defuser.js application/javascript (function(){