From c487ea7143545a3a5ff6f4ff0006cc2016cd66af Mon Sep 17 00:00:00 2001 From: Imre Eilertsen Date: Mon, 3 Nov 2025 19:16:56 +0100 Subject: [PATCH] Add files via upload --- .../NordicFiltersABP-Inclusion.txt | 43 ++++++++----------- .../XYZPrepareFilters.py | 2 +- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt b/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt index e59dab7d7..4ca07d2d4 100644 --- a/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt +++ b/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt @@ -3854,7 +3854,8 @@ triplx.dk##.aff-inner-col ! https://github.com/brave/adblock-lists/issues/768 (Remove when Shield Standard Mode adds support for cosmetic filtering in default lists) ||akamai.vgc.no/drfront3^$image ! Generic entries that seem like they'd apply to the internet as a whole (Nordic sites included) that aren't in EasyList or AdGuard Base Filter, but which are in either uBlock Filters Ads, uBlock Filters Unbreak, or uBlock Filters Badware Risks. -! Version: 031120251-Extension +! Since this file is also included in Adblock Plus' default list for all-Nordic sites (and not just in the AdGuard version of Nordic Filters), uBO shorthands such as "$xmlhttprequest" are not good ideas. +! Version: 031120253-Extension ###adbtm[onclick="badr();"] ###adyes:not(:empty) ###anuncio:not(:empty) @@ -3874,7 +3875,6 @@ triplx.dk##.aff-inner-col ###player div[style$="cursor: pointer; position: absolute; width: 100%; height: 100%; padding: 1rem; z-index: 2147483647;"] ###playerOverlay[style="position:absolute; z-index:3"] ###plban:not(:empty) -###sidearm-adblock-modal:not(:empty) ###st-ami + div[id][class*=" "] ###stop_ad:not(:empty) ###stop_ad2:not(:empty) @@ -3884,7 +3884,6 @@ triplx.dk##.aff-inner-col ###vidcloud-player > #overlay-container ###video-id_fluid_html_on_pause:not(:empty) ###video_player ~ div[id] div[style^="position:fixed;inset:0px;z-index:"] -###zdn-adblock-overlay:not(:empty) ##.aan_fake:not(html,body,:empty) ##.aan_fake__video-units:not(html,body,:empty) ##.adde_modal-overlay:not(html,body,:empty) @@ -3901,8 +3900,6 @@ triplx.dk##.aff-inner-col ##.bb ~ main#container .containerAds ##.bloc-pub:not(html,body,:empty) ##.bloc-pub2:not(html,body,:empty) -##.blocker-notice:not(html,body,:empty) -##.blocker-overlay:not(html,body,:empty) ##.bottom-hor-block:not(html,body,:empty) ##.brs-block:not(html,body,:empty) ##.buttonautocl:not(html,body,:empty) @@ -3922,7 +3919,6 @@ triplx.dk##.aff-inner-col ##.inplayer-ad:not(html,body,:empty) ##.inplayer_banners:not(html,body,:empty) ##.jwplayer ~ div[style="position:absolute;top:0;left:0;width: 100%;height: 100%;z-index:2147483647"] -##.mdp-deblocker-wrapper:not(html,body,:empty) ##.ninja-recommend-block:not(html,body,:empty) ##.overlay-advertising-new:not(html,body,:empty) ##.player-bns-block:not(html,body,:empty) @@ -3931,7 +3927,6 @@ triplx.dk##.aff-inner-col ##.rps_player_ads:not(html,body,:empty) ##.samBannerUnit:not(html,body,:empty) ##.samCodeUnit:not(html,body,:empty) -##.sharethis-inline-share-buttons.st-hidden ##.stream-item-widget:not(html,body,:empty) ##.trafficjunky-float-right:not(html,body,:empty) ##.wp-block-savage-platform-primis-video:not(html,body,:empty) @@ -4015,8 +4010,9 @@ triplx.dk##.aff-inner-col ! Other entries that are «AdGuard syntax»-specific ! Generic entries that seem like they'd apply to the internet as a whole (Nordic sites included) that aren't in EasyList or uBlock Filters, but which are in AdGuard Base Filter. +! Since this file is also included in Adblock Plus' default list for all-Nordic sites (and not just in the main/uBO version of Nordic Filters), uBO shorthands such as "$xmlhttprequest", "$third-party", etc., are not good ideas. ! An equivalent file also exists for AdGuard softwares. -! Version: 031120251-Extension +! Version: 031120252-Extension ###adbtm[onclick="badr();"] ###adyes:not(:empty) ###anuncio:not(:empty) @@ -4111,30 +4107,26 @@ triplx.dk##.aff-inner-col ##html#html[sti][vic][lang] > body#allbody /1clkn/*$script,third-party /?r=dir&zoneid= -/?r=dir&zoneid=$popup /?referral=sythe -/?referral=sythe$popup /?track=*&key= -/?track=*&key=$popup /a/na/js/*$third-party :not(:empty/adc-ads-lib|$script -/advertisement/video/static/advantage.xml^$~xhr -/ajax/banner/list?page=$~xhr +/advertisement/video/static/advantage.xml^$~xmlhttprequest +/ajax/banner/list?page=$~xmlhttprequest /all-for-adsense/* -/api/model/feed?siteId=$~xhr,third-party -/api/spots/*&kw=$~xhr -/api/spots/*^fill=$~xhr -/api/users/*^fill=$~xhr +/api/model/feed?siteId=$~xmlhttprequest,third-party +/api/spots/*&kw=$~xmlhttprequest +/api/spots/*^fill=$~xmlhttprequest +/api/users/*^fill=$~xmlhttprequest /backend_loader$script /clc?aid= -/clc?aid=$popup /click?pid=*&offer_id= /config?key=6922a2c8-d1e9-43be-b201-749543d28fe1 /config?key=d35e161b-abb4-4949-b523-003165d250bb -/cuid/?f=https%$~xhr,third-party -/embed-1/ajax/e-1/banners|$~xhr -/embed-1/e-1/banners|$~xhr -/gb/zone?zid=$~xhr,third-party +/cuid/?f=https%$~xmlhttprequest,third-party +/embed-1/ajax/e-1/banners|$~xmlhttprequest +/embed-1/e-1/banners|$~xmlhttprequest +/gb/zone?zid=$~xmlhttprequest,third-party /get/*?zoneid=$script /in/p/?spot_id=$subdocument,third-party /js/ppndr. @@ -4145,11 +4137,10 @@ triplx.dk##.aff-inner-col /promo/next/mural/* /propeller-ads /sytheb -/sytheb$popup /teo4.$script -/utx?tid=$~xhr,third-party -/v2/for-page?body=%$~xhr -/vast/?zid=$~xhr,third-party +/utx?tid=$~xmlhttprequest,third-party +/v2/for-page?body=%$~xmlhttprequest +/vast/?zid=$~xmlhttprequest,third-party /watchnew?shu=$subdocument,third-party /wcm/?sh=$script,third-party /zone?pub diff --git a/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py b/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py index 99b650841..3b51c4b26 100644 --- a/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py +++ b/NorwegianExperimentalList alternate versions/XYZPrepareFilters.py @@ -1,4 +1,4 @@ -import requests +import requests import re SOURCES = ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianList.txt', 'https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt', 'https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/NordicFilters-NotBrave.txt']