From 9425af1edb3e9ba8d4bc0b84974bb32662219be8 Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 23 Mar 2016 13:28:50 -0400 Subject: [PATCH] this addresses https://forums.lanik.us/viewtopic.php?f=62&t=29304 --- assets/checksums.txt | 4 ++-- assets/ublock/filters.txt | 13 ++++--------- assets/ublock/resources.txt | 11 +++++++---- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/assets/checksums.txt b/assets/checksums.txt index 1daf15602..e84a045b8 100644 --- a/assets/checksums.txt +++ b/assets/checksums.txt @@ -1,11 +1,11 @@ 0e7aeb5895e5010d42f76aae10701d6d assets/ublock/unbreak.txt 62111a29f0a5cb361ba8dbae92054adb assets/ublock/redirect-resources.txt 94efb2d9c4bd436707c3923d64cb4f3b assets/ublock/privacy.txt -0c0a5f676b3591fec9dd5eb897300668 assets/ublock/filters.txt +6b93177300a9f517e0634ed94b0c6ef5 assets/ublock/filters.txt 98088252cedafb8571cf61b91bea219e assets/ublock/badware.txt 5baa90e2da7cd6a73edff2010557ee57 assets/ublock/redirect.txt 89f1a0b14271b83ca4980a3373d5fc12 assets/ublock/experimental.txt -76b859be6f42dfa592eb7e75e83a6de5 assets/ublock/resources.txt +76cbdb8713a7b097ebb43d8aa0e7bf0a 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/filters.txt b/assets/ublock/filters.txt index 071935adb..6c7a9fd22 100644 --- a/assets/ublock/filters.txt +++ b/assets/ublock/filters.txt @@ -163,7 +163,6 @@ jav4.me##script:contains(adblock.htm) kino-dom.org##script:contains(my_abadiv) layer13.net##script:contains(adBlockDetected) linternaute.com##script:contains(/^\s*var\s+Asl=/) -opensubtitles.org##script:contains(defaultCheckForAdBlockExistance) pornfun.com##script:contains(canRunAds) sueddeutsche.de##script:contains(BlockAdBlock) vg.no##script:contains(/^\s*?window\.__AB__/) @@ -211,10 +210,10 @@ spiegel.de#@#.wrapad ||trhnt.com^$document,popup ||trhunt.com^$document,popup -# https://forums.lanik.us/viewtopic.php?f=62&t=27003 -www.opensubtitles.org##div[itemscope] > fieldset -www.opensubtitles.org##.content > a[class]:not([id]) -www.opensubtitles.org##fieldset.intro:not([style]) +# https://forums.lanik.us/viewtopic.php?f=62&t=27719 +opensubtitles.org##script:inject(opensubtitles.org) +||carambo.la^$third-party +opensubtitles.org##script:contains(defaultCheckForAdBlockExistance) # https://skystreaming.net/canali/sky/guarda-sky-sport-1-in-streaming-live skystreaming.net##script:contains(abisuq) @@ -315,10 +314,6 @@ armorgames.com,mmohuts.com,newgrounds.com,onrpg.com,silvergames.com##a[href*="mm ||exoclick.com^$important,domain=debridfast.com ||www.debridfast.com/bilokiyofdsdf.js$script -# https://forums.lanik.us/viewtopic.php?f=62&t=27719 -opensubtitles.org##script:inject(opensubtitles.org) -||carambo.la^$third-party - # https://forums.lanik.us/viewtopic.php?f=62&t=28856 ||godlessnightsfilm.co.uk/scripts/ad-gallery/$important,third-party diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt index b2e1c2204..abf69a099 100644 --- a/assets/ublock/resources.txt +++ b/assets/ublock/resources.txt @@ -760,10 +760,13 @@ bcplayer-defuser.js application/javascript # https://forums.lanik.us/viewtopic.php?f=62&t=27719 opensubtitles.org application/javascript (function() { - Object.defineProperty(window, '_0x1cae', { - get: function() { return []; }, - set: function(a) {} - }); + var eval = window.eval; + window.eval = function(a) { + if ( a.toString().indexOf('defaultCheckForAdBlockExistance') !== -1 ) { + return; + }; + return eval(a); + }; })();