Add files via upload

This commit is contained in:
Imre Kristoffer Eilertsen
2020-05-28 16:12:24 +02:00
committed by GitHub
parent d48fd801b7
commit 765335acad
8 changed files with 1919 additions and 137 deletions
@@ -1,5 +1,5 @@
msFilterList
# Version: 27May2020v1-Alpha
# Version: 28May2020v1-Alpha
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
# Translated title: Dandelion Sprout's Nordic filters for tidier websites
: expires = 1
@@ -257,18 +257,7 @@ msFilterList
# Makes E-newspaper previews show up properly
# ——— Unknown cause ———
# https://github.com/DandelionSprout/adfilt/issues/67
# 🇳🇴 🇩🇰: ——— Anti-anti-reklameblokkering ———
# 🇮🇸: ——— And-and-auglýsingshindrun ———
# 🇬🇧: ——— 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 aftenposten.no ads-
-d dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com
-d elderlyscissors.com
-d imasdk.googleapis.com pal.js
+d bondebladet.screen9.tv
+d eurosport.*
+d sixscissors.com
+d bildeler.name
+d reservedele.name
!#include NorwegianExperimentalList%20alternate%20versions AntiAdblockEntries.txt
# 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
# 🇬🇧: ——— Tries to make the web browser load files in HTTPS, if the website itself doesn't automatically redirect from HTTP to its HTTPS version ———
# Credit to https://raw.githubusercontent.com/Cybo1927/Hosts/master/Anti/Anti%2520Third-Party%2520HTTP/for/showing me the existence of this particular CSP command.
@@ -557,3 +546,16 @@ msFilterList
-d brigitteheilmann.dk
-d storustovu.dk
-d campingnews.dk
# 🇳🇴 🇩🇰: ——— Anti-anti-reklameblokkering ———
# 🇮🇸: ——— And-and-auglýsingshindrun ———
# 🇬🇧: ——— Anti-anti-adblocking ———
# Last updated: 28May2020v2-Extension
-d aftenposten.no ads-
-d dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com
-d elderlyscissors.com
-d imasdk.googleapis.com pal.js
+d bondebladet.screen9.tv
+d eurosport.*
+d sixscissors.com
+d bildeler.name
+d reservedele.name
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 270520201
! Version: 280520201
! Title: 🏔️ Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for AdBlock og Adblock Plus)
! Translated title: Dandelion Sprout's West Nordic filters for tidier websites (for AdBlock and Adblock Plus)
! Expires: 12 hours
@@ -873,34 +873,7 @@ krom.is#@#.share-container
@@||fe.adstate.net/assets/common/img/web_ad^$domain=ba.no|nidaros.no
@@||fe.adstate.net/stream_file.php?type=ad_preview_image$domain=ba.no|nidaros.no
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— 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 ———
gratiskostplaner.dk#$#abort-on-property-write KillAdBlock
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
godt.no##.adblock-info-box
gratisspil.dk#$#abort-on-property-write AdBlockerInfo
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
tv2.no#$#abort-current-inline-script adblockDetector
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,rewrite=abp-resource:blank-mp3,domain=dplay.no|dplay.dk
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,rewrite=abp-resource:blank-js,domain=dplay.no|dplay.dk
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
@@||bildeler.name$generichide
@@||reservedele.name$generichide
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
! 🇬🇧: ——— Tries to make the web browser load files in HTTPS, if the website itself doesn't automatically redirect from HTTP to its HTTPS version ———
@@ -1325,3 +1298,32 @@ finans.dk##.baPosition
||brigitteheilmann.dk^
||storustovu.dk^
||campingnews.dk^
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— Anti-anti-adblocking ———
! Last updated: 28May2020v2-Extension
gratiskostplaner.dk#$#abort-on-property-write KillAdBlock
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
godt.no##.adblock-info-box
gratisspil.dk#$#abort-on-property-write AdBlockerInfo
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
tv2.no#$#abort-current-inline-script adblockDetector
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,rewrite=abp-resource:blank-mp3,domain=dplay.no|dplay.dk
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,rewrite=abp-resource:blank-js,domain=dplay.no|dplay.dk
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
@@||bildeler.name$generichide
@@||reservedele.name$generichide
@@ -1,4 +1,4 @@
! Version: 27May2020v1
! Version: 28May2020v1
! 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
@@ -906,41 +906,7 @@ krom.is#@#.share-container
@@||fe.adstate.net/assets/common/img/web_ad^$domain=ba.no|nidaros.no
@@||fe.adstate.net/stream_file.php?type=ad_preview_image$domain=ba.no|nidaros.no
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— 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 ———
gratiskostplaner.dk##+js(aopw, KillAdBlock)
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
dagensbyggeri.dk##+js(std, (), 2500)
eurosport.*##+js(aeld, contextmenu)
godt.no##.adblock-info-box
gratisspil.dk##+js(aopw, AdBlockerInfo)
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
techstart.dk##+js(set, adblock, false)
tv2.no##+js(acis, adblockDetector)
vg.no##+js(aeld, load, concat)
tipsbladet.dk##.js-isblured:style(-webkit-filter: none !important; filter: none !important)
tipsbladet.dk###js-promo-welcome
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,redirect=noopmp3-0.1s,domain=dplay.*
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,redirect=noopjs,domain=dplay.*
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.*
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
!#if !ext_ublock
@@||bildeler.name$generichide
@@||reservedele.name$generichide
!#endif
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
! 🇬🇧: ——— Tries to make the web browser load files in HTTPS, if the website itself doesn't automatically redirect from HTTP to its HTTPS version ———
@@ -1386,3 +1352,39 @@ finans.dk##.baPosition
||storustovu.dk^
!+ NOT_OPTIMIZED
||campingnews.dk^
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— Anti-anti-adblocking ———
! Last updated: 28May2020v2-Extension
gratiskostplaner.dk##+js(aopw, KillAdBlock)
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
dagensbyggeri.dk##+js(std, (), 2500)
eurosport.*##+js(aeld, contextmenu)
godt.no##.adblock-info-box
gratisspil.dk##+js(aopw, AdBlockerInfo)
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
techstart.dk##+js(set, adblock, false)
tv2.no##+js(acis, adblockDetector)
vg.no##+js(aeld, load, concat)
tipsbladet.dk##.js-isblured:style(-webkit-filter: none !important; filter: none !important)
tipsbladet.dk###js-promo-welcome
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,redirect=noopmp3-0.1s,domain=dplay.*
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,redirect=noopjs,domain=dplay.*
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.*
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
!#if !ext_ublock
@@||bildeler.name$generichide
@@||reservedele.name$generichide
!#endif
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 27May2020v1-Alpha
! Version: 28May2020v1-Alpha
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for Brave Browser)
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (for Brave Browser)
! Expires: 12 hours
@@ -198,17 +198,6 @@ contentMarketing$xmlhttprequest,domain=sol.no
! ——— Unknown cause ———
@@||fe.adstate.net/assets/common/img/web_ad^$domain=ba.no|nidaros.no
@@||fe.adstate.net/stream_file.php?type=ad_preview_image$domain=ba.no|nidaros.no
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— 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 ———
||aftenposten.no/seksjon/dist/ads-$script
||elderlyscissors.com^
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
! 🇬🇧: ——— Tries to make the web browser load files in HTTPS, if the website itself doesn't automatically redirect from HTTP to its HTTPS version ———
! Credit to https://raw.githubusercontent.com/Cybo1927/Hosts/master/Anti/Anti%2520Third-Party%2520HTTP for showing me the existence of this particular CSP command.
@@ -480,3 +469,15 @@ contentMarketing$xmlhttprequest,domain=sol.no
||brigitteheilmann.dk^
||storustovu.dk^
||campingnews.dk^
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— Anti-anti-adblocking ———
! Last updated: 28May2020v2-Extension
||aftenposten.no/seksjon/dist/ads-$script
||elderlyscissors.com^
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,~third-party
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$~third-party,domain=tvkampen.com|tvsporten.dk
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$third-party,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,~third-party
@@ -1,4 +1,4 @@
! Version: 27May2020v1
! Version: 28May2020v1
! 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
@@ -906,41 +906,7 @@ krom.is#@#.share-container
@@||fe.adstate.net/assets/common/img/web_ad^$domain=ba.no|nidaros.no
@@||fe.adstate.net/stream_file.php?type=ad_preview_image$domain=ba.no|nidaros.no
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— 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 ———
gratiskostplaner.dk##+js(aopw, KillAdBlock)
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
dagensbyggeri.dk##+js(std, (), 2500)
eurosport.*##+js(aeld, contextmenu)
godt.no##.adblock-info-box
gratisspil.dk##+js(aopw, AdBlockerInfo)
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
techstart.dk##+js(set, adblock, false)
tv2.no##+js(acis, adblockDetector)
vg.no##+js(aeld, load, concat)
tipsbladet.dk##.js-isblured:style(-webkit-filter: none !important; filter: none !important)
tipsbladet.dk###js-promo-welcome
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,redirect=noopmp3-0.1s,domain=dplay.no|dplay.dk
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,redirect=noopjs,domain=dplay.no|dplay.dk
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,1p
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$1p,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$3p,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,1p
!#if !ext_ublock
@@||bildeler.name$generichide
@@||reservedele.name$generichide
!#endif
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
! 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
! 🇬🇧: ——— Tries to make the web browser load files in HTTPS, if the website itself doesn't automatically redirect from HTTP to its HTTPS version ———
@@ -1386,3 +1352,39 @@ finans.dk##.baPosition
||storustovu.dk^
!+ NOT_OPTIMIZED
||campingnews.dk^
! 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
! 🇮🇸: ——— And-and-auglýsingshindrun ———
! 🇬🇧: ——— Anti-anti-adblocking ———
! Last updated: 28May2020v2-Extension
gratiskostplaner.dk##+js(aopw, KillAdBlock)
aftenposten.no##div[style*="width: 10"][style*="z-index: 2147"]
csp.screen9.com#@#.adsbox
dagensbyggeri.dk##+js(std, (), 2500)
eurosport.*##+js(aeld, contextmenu)
godt.no##.adblock-info-box
gratisspil.dk##+js(aopw, AdBlockerInfo)
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
techstart.dk##+js(set, adblock, false)
tv2.no##+js(acis, adblockDetector)
vg.no##+js(aeld, load, concat)
tipsbladet.dk##.js-isblured:style(-webkit-filter: none !important; filter: none !important)
tipsbladet.dk###js-promo-welcome
abcnyheter.no##div[style^="bottom: 0px;"]
||aftenposten.no/seksjon/dist/ads-$script
||dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/$media,redirect=noopmp3-0.1s,domain=dplay.no|dplay.dk
||elderlyscissors.com^
||imasdk.googleapis.com/pal/sdkloader/pal.js$script,redirect=noopjs,domain=dplay.no|dplay.dk
||vg.no/cnp-assets/src/sites/vg/components/AdblockModal$script,1p
@@.dk/assets/templates/*/ads.png$image,domain=maskinbladet.dk|agrar-plus.dk|fritidsmarkedet.dk|dagensbyggeri.dk|maskinteknik.dk|gronteknik.dk
@@/js/ads.js$1p,domain=tvkampen.com|tvsporten.dk
@@||bondebladet.screen9.tv^$generichide
@@||eurosport.*^$generichide
@@||fwmrm.net/ad/$script,domain=dplay.no|dplay.dk
@@||sixscissors.com^$3p,domain=itavisen.no
@@||www.tv2.no/s/js/ads.js$script,1p
!#if !ext_ublock
@@||bildeler.name$generichide
@@||reservedele.name$generichide
!#endif
@@ -1,4 +1,4 @@
# Version: 27May2020v1-Alpha
# Version: 28May2020v1-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
@@ -293,15 +293,6 @@ contentMarketing
# ——— Unknown cause ———
# https://github.com/DandelionSprout/adfilt/issues/67
#
# 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
# 🇮🇸: ——— And-and-auglýsingshindrun ———
{+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 ———}}
.aftenposten.no/seksjon/dist/ads-
.dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/
.elderlyscissors.com
.imasdk.googleapis.com/pal/sdkloader/pal.js
.vg.no/cnp-assets/src/sites/vg/components/AdblockModal
#
#
#
# 🇳🇴: ——— Forsøker å få nettleseren til å laste inn filer i HTTPS, dersom nettstedet ikke automatisk omdirigerer HTTP til dens HTTPS-versjon ———
@@ -650,3 +641,14 @@ contentMarketing
.storustovu.dk
#
.campingnews.dk
# 🇳🇴/🇩🇰: ——— Anti-anti-reklameblokkering ———
# 🇮🇸: ——— And-and-auglýsingshindrun ———
{+block{——— Anti-anti-adblocking ———}}
# Last updated: 28May2020v2-Extension
.aftenposten.no/seksjon/dist/ads-
.dni-adops-proxy-prod-adopsmediaconverter.mercury.dnitv.com/
.elderlyscissors.com
.imasdk.googleapis.com/pal/sdkloader/pal.js
.vg.no/cnp-assets/src/sites/vg/components/AdblockModal
#
#
@@ -1,7 +1,7 @@
import requests
import re
SOURCES = ['https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianList.txt']
SOURCES = ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianList.txt', 'https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt']
UNSUPPORTED_ABP = ['$important', ',important', '$redirect=', ',redirect=',
':style', '##+js', '.*#' , 'dk,no##', '!#if', '!#endif', '!+ ', '##^']
@@ -1455,6 +1455,477 @@ if __name__ == "__main__":
import requests
import re
SOURCES = ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianList.txt']
UNSUPPORTED_ABP = ['$important', ',important', '$redirect=', ',redirect=',
':style', '##+js', '.*#' , 'dk,no##', '!#if', '!#endif', '!+ ', '##^']
OUTPUT = 'xyzzyxeyeo.txt'
OUTPUT_ABP = 'NordicFiltersABP-Eyeo.txt'
# function that downloads the filter list
def download_filters() -> str:
text = ''
for url in SOURCES:
r = requests.get(url)
text += r.text
return text
# ——— Adblock Plus version ———
def is_supported_abp(line) -> bool:
for token in UNSUPPORTED_ABP:
if token in line:
return False
return True
# function that prepares the filter list for ABP
def prepare_abp(lines) -> str:
text = ''
# remove or modifiy entries with unsupported modifiers
for line in lines:
# remove $document modifier from the rule
line = re.sub(
r"\$doc.*",
"",
line
)
# remove $important modifier from the rule
line = re.sub(
r"\$important,",
"$",
line
)
line = re.sub(
r"([$,])important",
"",
line
)
line = re.sub(
"Dandelion Sprouts nordiske filtre for ryddigere nettsider",
"Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for Adblock Plus - Møter Eyeo sine regler)",
line
)
line = re.sub(
"Dandelion Sprout's Nordic filters for tidier websites",
"Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with Eyeo compliance)",
line
)
line = re.sub(
r"^no##.*",
"",
line
)
line = re.sub(
r"! Redirect:.*",
"",
line
)
line = re.sub(
r"([$,])xhr",
r"\1xmlhttprequest",
line
)
line = re.sub(
r"([$,~])3p",
r"\1third-party",
line
)
line = re.sub(
r"([$,])1p",
r"\1~third-party",
line
)
line = re.sub(
":matches-css-before\(",
":-abp-properties(",
line
)
line = re.sub(
":matches-css\(",
":-abp-properties(",
line
)
line = re.sub(
"viaplay.\*#",
"viaplay.no,viaplay.dk,viaplay.is#",
line
)
line = re.sub(
"google.\*#",
"google.no,google.dk,google.is#",
line
)
line = re.sub(
r"eurogamer\.\*([#,])",
r"eurogamer.dk\1",
line
)
line = re.sub(
"ticketmaster.\*#",
"ticketmaster.no,ticketmaster.dk#",
line
)
line = re.sub(
"qxl.\*#",
"qxl.no,qxl.dk#",
line
)
line = re.sub(
"expedia.\*#",
"expedia.no,expedia.dk#",
line
)
line = re.sub(
"gamereactor.\*#",
"gamereactor.no,gamereactor.dk#",
line
)
line = re.sub(
"viafree.\*#",
"viafree.no,viafree.dk#",
line
)
line = re.sub(
"momondo.\*#",
"momondo.no,monondo.dk#",
line
)
line = re.sub(
"eurosport.\*#",
"eurosport.no,eurosport.dk#",
line
)
line = re.sub(
"prisjakt.\*,",
"prisjakt.no,",
line
)
line = re.sub(
"180.\*#",
"180.no,180.dk#",
line
)
line = re.sub(
"^,",
"^$",
line
)
line = re.sub(
",script,",
"$script,",
line
)
line = re.sub(
r"! Version: (.*)January(.*)v([0-9][0-9]?)",
r"! Version: \g<1>01\2\3",
line
)
line = re.sub(
r"! Version: (.*)February(.*)v([0-9][0-9]?)",
r"! Version: \g<1>02\2\3",
line
)
line = re.sub(
r"! Version: (.*)March(.*)v([0-9][0-9]?)",
r"! Version: \g<1>03\2\3",
line
)
line = re.sub(
r"! Version: (.*)April(.*)v([0-9][0-9]?)",
r"! Version: \g<1>04\2\3",
line
)
line = re.sub(
r"! Version: (.*)May(.*)v([0-9][0-9]?)",
r"! Version: \g<1>05\2\3",
line
)
line = re.sub(
r"! Version: (.*)June(.*)v([0-9][0-9]?)",
r"! Version: \g<1>06\2\3",
line
)
line = re.sub(
r"! Version: (.*)July(.*)v([0-9][0-9]?)",
r"! Version: \g<1>07\2\3",
line
)
line = re.sub(
r"! Version: (.*)August(.*)v([0-9][0-9]?)",
r"! Version: \g<1>08\2\3",
line
)
line = re.sub(
r"! Version: (.*)September(.*)v([0-9][0-9]?)",
r"! Version: \g<1>09\2\3",
line
)
line = re.sub(
r"! Version: (.*)October(.*)v([0-9][0-9]?)",
r"! Version: \g<1>10\2\3",
line
)
line = re.sub(
r"! Version: (.*)November(.*)v([0-9][0-9]?)",
r"! Version: \g<1>11\2\3",
line
)
line = re.sub(
r"! Version: (.*)December(.*)v([0-9][0-9]?)",
r"! Version: \g<1>12\2\3",
line
)
line = re.sub(
r"(! Version: .*)",
r"[Adblock Plus 3.4]\n\1",
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
)
line = re.sub(
r"##\+js\(aopw, (.*)\)",
r"#$#abort-on-property-write \1",
line
)
line = re.sub(
r"##\+js\(aopr, (.*)\)",
r"#$#abort-on-property-read \1",
line
)
line = re.sub(
r"##\+js\(acis, (.*)\)",
r"#$#abort-current-inline-script \1",
line
)
line = re.sub(
r"(#\$#.*),",
r"\1",
line
)
line = re.sub(
r"^!.*PFBLOCKERNG.*",
r"",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(1\)",
r"\1#?#*:-abp-has(> \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(2\)",
r"\1#?#*:-abp-has(> * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(3\)",
r"\1#?#*:-abp-has(> * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(4\)",
r"\1#?#*:-abp-has(> * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(5\)",
r"\1#?#*:-abp-has(> * > * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(6\)",
r"\1#?#*:-abp-has(> * > * > * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(7\)",
r"\1#?#*:-abp-has(> * > * > * > * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(8\)",
r"\1#?#*:-abp-has(> * > * > * > * > * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(9\)",
r"\1#?#*:-abp-has(> * > * > * > * > * > * > * > * > \2)",
line
)
line = re.sub(
r"([a-z*])#[?]?#(.*):(upward|nth-ancestor)\(10\)",
r"\1#?#*:-abp-has(> * > * > * > * > * > * > * > * > * > \2)",
line
)
line = re.sub(
r".*mm\.dk##\.fadeout.*",
r"",
line
)
line = re.sub(
r"tipsbladet\.dk###js-promo-welcome",
r"",
line
)
line = re.sub(
r"([.?]),script",
r"\1$script",
line
)
line = re.sub(
r"xmlhttprequest\$",
r"xmlhttprequest,",
line
)
line = re.sub(
r"^!.* Elgiganten .*",
r"",
line
)
line = re.sub(
r"^!.* elko\.is .*",
r"",
line
)
line = re.sub(
r":remove()",
r"",
line
)
line = re.sub(
r"##:xpath\((.*)\)$",
r"#$#hide-if-matches-xpath \1",
line
)
line = re.sub(
r"(samebefolkningen\.)",
r"\1 Denne versjonen av listen inkluderer ikke anti-anti-reklameblokkering, ettersom slike oppføringer ikke er tillatt for lister som er inkludert i Adblock Plus.",
line
)
line = re.sub(
r"(samiske befolkning\.)",
r"\1 Den her listeversion indeholder ikke anti-anti-reklameblokkering, eftersom sådanne opføringer ikke er tilladt for lister, der er inkluderet i Adblock Plus.",
line
)
line = re.sub(
r"(samefolkesetnadene\.)",
r"\1 Denne versjonen av lista inneheld ikkje anti-anti-reklameblokkering, sidan slike oppføringer ikkje er tillete for listar som er inkludert i Adblock Plus.",
line
)
line = re.sub(
r"(indigenous population\.)",
r"\1 This list version does not contain anti-anti-adblocking, due to how such entries are not allowed in lists that are included in Adblock Plus.",
line
)
if is_supported_abp(line):
text += line + '\r\n'
return text
if __name__ == "__main__":
print('Starting the script')
text = download_filters()
lines = text.splitlines(False)
print('Total number of rules: ' + str(len(lines)))
abp_filter = prepare_abp(lines)
with open(OUTPUT, "w") as text_file:
text_file.write(text)
with open(OUTPUT_ABP, "w") as text_file:
text_file.write(abp_filter)
print('The Eyeo list version has been generated.')
import requests
import re