mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-06 07:24:45 +01:00
I discovered a pretty poorly promoted ABP feature
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
msFilterList
|
||||
# Version: 24November2019v1-Beta
|
||||
# Version: 27November2019v2-Beta
|
||||
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
|
||||
# Translated title: Dandelion Sprout's Nordic filters for tidier websites
|
||||
: expires = 1
|
||||
@@ -170,6 +170,9 @@ contentMarketing
|
||||
+d mparticle.com
|
||||
# 🇩🇰: Fikser knækking af videoer på TV 2 når "EasyList" bliver brugt
|
||||
# 🇬🇧: Unbreaks videos at TV2 Denmark when using "EasyList"
|
||||
# https://github.com/ryanbr/fanboy-adblock/issues/1241/
|
||||
# https://github.com/ryanbr/fanboy-adblock/issues/1243/
|
||||
-d ktg-content.cdn.prismic.io *(my.newsletter_popup.uid
|
||||
# 🇳🇴 🇩🇰: ——— Anti-anti-reklameblokkering ———
|
||||
# 🇬🇧: ——— Anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273/were/to/specifically/mention/such/entries as a reason to be denied EasyList affiliation or native ABP inclusion ———
|
||||
+d bondebladet.screen9.tv
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Adblock Plus 3.4]
|
||||
! Version: 241120191
|
||||
! Version: 271120192
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdBlock og Adblock Plus)
|
||||
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (for AdBlock and Adblock Plus)
|
||||
! Expires: 12 hours
|
||||
@@ -168,6 +168,7 @@ rett24.no##.p_banner-responsive
|
||||
/reklame/*
|
||||
/resources/dfp/*$domain=nettavisen.no
|
||||
||acdn.adnxs.com/ast/ast.js$script,domain=vg.no
|
||||
||acdn.adnxs.com/ast/ast.js$script,rewrite=abp-resource:blank-js,domain=vgtv.no
|
||||
||ad.*.no^
|
||||
||ad.no.doubleclick.net^
|
||||
||ad1.*.dk^
|
||||
@@ -180,6 +181,7 @@ rett24.no##.p_banner-responsive
|
||||
||adserver.*.dk^
|
||||
||adservicemedia.dk
|
||||
||akamai.net^$script,domain=eniro.se|eniro.no|eniro.dk
|
||||
||akamaihd.net/video-assets/$media,rewrite=abp-resource:blank-mp3,domain=dplay.no
|
||||
||amino.dk/images/partners/agera/240x140-forside-hardcoded*.jpg$image
|
||||
||annonser.*.no^
|
||||
||austevollforlag.no/wp-content/*/yachtmarine2014.$image
|
||||
@@ -194,6 +196,7 @@ rett24.no##.p_banner-responsive
|
||||
||client-stream-events.mtg-api.com^$domain=viafree.no|viafree.dk
|
||||
||cluster.chart.dk$third-party
|
||||
||cmt.no^
|
||||
||damoh.vgtv.no/hic_qos$script,rewrite=abp-resource:blank-js,domain=vg.no
|
||||
||delivered-by-madington.com^$third-party
|
||||
||dotbanner.dk$third-party
|
||||
||dust2.dk/img/banners/*$image
|
||||
@@ -660,6 +663,10 @@ krom.is#@#.share-container
|
||||
! 🇩🇰: Fikser knækking af videoer på TV 2 når "EasyList" bliver brugt
|
||||
! 🇬🇧: Unbreaks videos at TV2 Denmark when using "EasyList"
|
||||
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$script,domain=tv2.dk
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1241/
|
||||
live.nettavisen.no#@#.active > div
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1243/
|
||||
||ktg-content.cdn.prismic.io/api/*/documents/*(my.newsletter_popup.uid
|
||||
|
||||
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
|
||||
! 🇬🇧: ——— Anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273 were to specifically mention such entries as a reason to be denied EasyList affiliation or native ABP inclusion ———
|
||||
@@ -677,7 +684,9 @@ godt.no##.adblock-info-box
|
||||
langaa-guiden.dk,madforfattigroeve.dk##div[class][style*="z-index: 9999999; opacity"]
|
||||
langaa-guiden.dk,madforfattigroeve.dk##div[class][style^="z-index: 999999; background: rgba"]
|
||||
minmote.no,godt.no##.adblock-info
|
||||
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,rewrite=abp-resource:blank-mp3,domain=dplay.dk|dplay.no
|
||||
||elderlyscissors.com^
|
||||
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,rewrite=abp-resource:blank-js,domain=dplay.dk|dplay.no
|
||||
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
|
||||
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
|
||||
@@||www.tv2.no/s/js/ads.js$script,~third-party
|
||||
@@ -757,6 +766,7 @@ gamereactor.no,gamereactor.dk##div[style*="width:300px;height:600px;"]
|
||||
gamereactor.no,gamereactor.dk##div[style="min-height: 600px; margin-bottom: 20px;"]
|
||||
||gamereactor.*/media/eventad/$image
|
||||
@@||openx.gamereactor.dk/www/delivery/fc.php$xmlhttprequest,domain=gamereactor.no|gamereactor.dk
|
||||
||media.gamereactor.dk/prerolls/*$media,rewrite=abp-resource:blank-mp3,domain=gamereactor.no|gamereactor.dk
|
||||
||ssl.p.jwpcdn.com^*/gapro.js$script,domain=gamereactor.no|gamereactor.dk
|
||||
/insert_grtv_stats.$xmlhttprequest,domain=gamereactor.no|gamereactor.dk
|
||||
/prerolls/*$domain=gamereactor.no|gamereactor.dk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
! Version: 24November2019v1
|
||||
! Version: 27November2019v2
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdGuard)
|
||||
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (for AdGuard)
|
||||
! Expires: 12 hours
|
||||
@@ -686,6 +686,10 @@ krom.is#@#.share-container
|
||||
! 🇩🇰: Fikser knækking af videoer på TV 2 når "EasyList" bliver brugt
|
||||
! 🇬🇧: Unbreaks videos at TV2 Denmark when using "EasyList"
|
||||
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$script,domain=tv2.dk
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1241/
|
||||
live.nettavisen.no#@#.active > div
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1243/
|
||||
||ktg-content.cdn.prismic.io/api/*/documents/*(my.newsletter_popup.uid
|
||||
|
||||
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
|
||||
! 🇬🇧: ——— Anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273 were to specifically mention such entries as a reason to be denied EasyList affiliation or native ABP inclusion ———
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
! Version: 24November2019v1
|
||||
! Version: 27November2019v2
|
||||
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uten sporerhvitelisting)
|
||||
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (without tracker whitelistings)
|
||||
! Expires: 12 hours
|
||||
@@ -686,6 +686,10 @@ krom.is#@#.share-container
|
||||
! 🇩🇰: Fikser knækking af videoer på TV 2 når "EasyList" bliver brugt
|
||||
! 🇬🇧: Unbreaks videos at TV2 Denmark when using "EasyList"
|
||||
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1241/
|
||||
live.nettavisen.no#@#.active > div
|
||||
! https://github.com/ryanbr/fanboy-adblock/issues/1243/
|
||||
||ktg-content.cdn.prismic.io/api/*/documents/*(my.newsletter_popup.uid
|
||||
|
||||
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
|
||||
! 🇬🇧: ——— Anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273 were to specifically mention such entries as a reason to be denied EasyList affiliation or native ABP inclusion ———
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Version: 24November2019v1-Alpha
|
||||
# Version: 27November2019v2-Alpha
|
||||
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for Privoxy)
|
||||
# Translated title: Dandelion Sprout's Nordic filters for tidier websites (for Privoxy)
|
||||
# Expires: 12 hours
|
||||
@@ -194,6 +194,9 @@ contentMarketing
|
||||
{+block{Makes Dplay's login page show up properly when using "EasyPrivacy"}}
|
||||
# 🇩🇰: Fikser knækking af videoer på TV 2 når "EasyList" bliver brugt
|
||||
{+block{Unbreaks videos at TV2 Denmark when using "EasyList"}}
|
||||
# https://github.com/ryanbr/fanboy-adblock/issues/1241/
|
||||
# https://github.com/ryanbr/fanboy-adblock/issues/1243/
|
||||
.ktg-content.cdn.prismic.io/api/*/documents/*(my.newsletter_popup.uid
|
||||
#
|
||||
# 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
|
||||
{+block{——— Anti-anti-adblocking, in the event that https://forums.lanik.us/viewtopic.php?f=23&t=42273 were to specifically mention such entries as a reason to be denied EasyList affiliation or native ABP inclusion ———}}
|
||||
|
||||
@@ -3,7 +3,7 @@ import re
|
||||
|
||||
SOURCES = ['https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianList.txt']
|
||||
|
||||
UNSUPPORTED_ABP = ['$important', ',important' '$redirect=', ',redirect=',
|
||||
UNSUPPORTED_ABP = ['$important', ',important', '$redirect=', ',redirect=',
|
||||
':style', '##+js', '.*#' , ':xpath', 'dk,no##']
|
||||
UNSUPPORTED_TPL = ['##', '#@#', '#?#', r'\.no\.$']
|
||||
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '@@', '!#']
|
||||
@@ -396,6 +396,18 @@ def prepare_abp(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
"redirect=noopjs",
|
||||
"rewrite=abp-resource:blank-js",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"redirect=noopmp[34]-[0]?[.]?1s",
|
||||
r"rewrite=abp-resource:blank-mp3",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_abp(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -1033,7 +1045,7 @@ def prepare_hosts(lines) -> str:
|
||||
|
||||
line = re.sub(
|
||||
r"# Platform notes:.*",
|
||||
"# Platform notes: This list version is intended for tools that deal with so-called «hosts» system files, including pfBlockerNG, Gas Mask, Diversion, Hosts File Editor, and many others; as well as those who edit their OS' «hosts» system file.",
|
||||
"# Platform notes: This list version is intended for tools that deal with so-called «hosts» system files, including Gas Mask, Diversion, Hosts File Editor, and many others; as well as those who edit their OS' «hosts» system file.",
|
||||
line
|
||||
)
|
||||
|
||||
@@ -2503,4 +2515,4 @@ if __name__ == "__main__":
|
||||
with open(OUTPUT_AGH, "w") as text_file:
|
||||
text_file.write(agh_filter)
|
||||
|
||||
print('The script has finished its work')
|
||||
print('The script has finished its work')
|
||||
Reference in New Issue
Block a user