Add files via upload

This commit is contained in:
Imre Eilertsen
2025-07-25 02:09:54 +02:00
committed by GitHub
parent e1d22ff407
commit f792d85b7b
9 changed files with 592 additions and 764 deletions
@@ -1,7 +1,7 @@
msFilterList
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
# Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites
# Last modified: 13July2025v1-Deprecated
# Last modified: 20July2025v1-Deprecated
: expires = 18 hours
# Lisens Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
# Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1,6 +1,6 @@
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for «uBlock Origin Legacy»)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (for «uBlock Origin Legacy»)
! Last modified: 13July2025v1-Beta
! Last modified: 20July2025v1-Beta
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1346,6 +1346,7 @@ lav-det-selv.dk##.forum-sidebar .d-none
scm.dk##.banner-hidden
seoghoer.dk##div[data-type=ad]
tiendeo.*##.text-center.justify-center.items-center
nyhetsstrømmen.no##.aunit
! — — — — — — — — —
! 🇳🇴:Oppføringer for minst 3 nettsteder
! 🇬🇧:Entries for at least 3 websites
@@ -3229,7 +3230,7 @@ triplx.dk##.aff-inner-col
||mygoodmerch.com^$all
! https://www•tv2•no/nyheter/forbruker/sjokksvar-pa-epost-harreisende/17805239/
! https://www•tv2•no/nyheter/forbruker/tenkte-shit-na-har-jeg-blitt-lurt/17474448/
||takstskolen.no^$doc,domain=~suspekt_sertifiseringssystem_*
||takstskolen.no^$doc,domain=~suspekt_sertifiseringssystem.*
! 🇬🇧:Pirate-product-selling stores registered by the serial scammers who go by the name of "xiang dao xin xi ji shu you xiang gong si".
||nofotballshop.com^$doc
@@ -1,6 +1,6 @@
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uMatrix-regler til å benytte sammen med domeneversjonen)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (uMatrix rules to use together with the raw domains version)
! Last modified: 13July2025v1-Alpha
! Last modified: 20July2025v1-Alpha
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
! 🇳🇴:Denne listen dekker nettsteder for Norge, Danmark, Island, Færøyene, Grønland, Schleswig-Holsteins danske minoritet, og samebefolkningen. For mere informasjon, detaljer, hjelpemidler, og andre lister jeg har laget, gå til https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md#norsk
@@ -1,7 +1,7 @@
[Adblock Plus 3.13]
! Title: 🏔️ Dandelion Sprouts helnordiske filtre (Møter ABPs inkluderingsregler — Firefox ≥121, Chrom* ≥105)
! Title 🇬🇧: Dandelion Sprout's All-Nordic filters (With ABP inclusion compliance — Firefox ≥121, Chrom* ≥105)
! Version: 130720251
! Version: 200720251
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1293,6 +1293,7 @@ bankernorge.com##aside#sidebar
lav-det-selv.dk##.forum-sidebar .d-none
scm.dk##.banner-hidden
seoghoer.dk##div[data-type=ad]
nyhetsstrømmen.no##.aunit
! — — — — — — — — —
! 🇳🇴:Oppføringer for minst 3 nettsteder
! 🇬🇧:Entries for at least 3 websites
@@ -6683,7 +6684,7 @@ dn.se##.bad--insider-tall
! Title: Adblock List for Finland
! Description: Finnish adblock list
! Expires: 4 days
! Last modified: Thu, 10 Jul 2025 11:15:26 +0300
! Last modified: Thu, 24 Jul 2025 20:57:13 +0300
! Finnish section's homepage: https://github.com/finnish-easylist-addition/finnish-easylist-addition
! License: https://unlicense.org/
! Raportoi mainoksenestoon liittyvistä ongelmista tai estämättömistä mainoksista täällä / Please report adblocking related issues or unblocked ads at:
@@ -7159,6 +7160,7 @@ inssinosingot.fi,koeajolle.com##.block-mainos
irc-galleria.net##div[id^=open_]
irc-galleria.net,tilannehuone.fi##div[id^=Nostemedia_Desktop]
is.fi##[data-testid|="laneitem"] > article:has(a[href^="https://media.sanoma.fi/"])
is.fi##[data-testid|="laneitem"]:has(a[href^="/mainos/"])
is.fi##[href^="https://www.is.fi/tilaus/is-extra/"][href$="myyntitikkeri"]
is.fi##div.sadblob-loading
iskelma.fi##section.sbs-articleitems[data-module_position_id="814"]
@@ -7508,6 +7510,8 @@ puheenaiheet.fi##div[class=wpb_wrapper]
puheenvuoro.uusisuomi.fi##.partner-blog-list
puheenvuoro.uusisuomi.fi##.side-list.commercial-blog-studio
puheenvuoro.uusisuomi.fi##a[class*=commercial-blog-card]
puheenvuoro.uusisuomi.fi###leaderboard-1-desktop
puheenvuoro.uusisuomi.fi###leaderboard-1-mobile
puhelinvertailu.com##br:has(+ br + ins[class=adsbygoogle])
puhelinvertailu.com##br:has(+ ins[class=adsbygoogle])
puskaradio.net##.all-adds
@@ -7562,6 +7566,7 @@ sjofart.ax##.ae-bg-gallery-type-default.elementor-section-height-default.element
sjofart.ax##.elementor-location-header .topp
sketsi.net##footer > .container.tdt-ad-wrap
somerolehti.fi###auto-grid-container-5c470b0150cba
soppa365.fi#?#.container.middle p:has-text(/^\xA0$/)
sportti.com##[href^="http://ads.leovegas.com/"]
sportti.com##[href^="http://www.primeslots.com/"]
sportti.com##div#panorama_container
@@ -7779,6 +7784,7 @@ vuodatus.net##.ad300x300
vuokraovi.com##.service-ad-panel
webnode.fi##.wnd-free-stripe-link
wizhdsports.fi##.widget_media_image
www.google.com###cnt > div[class]:has(#atvcap [title="Miksi tämä mainos?"])
www.io-tech.fi##.widget.datatronic
www.nettiauto.com###article_box li:has([id|="almad-post-content"])
www.nettiauto.com,www.nettikaravaani.com,www.nettikone.com,www.nettimokki.com,www.nettimoto.com,www.nettivaraosa.com,www.nettivene.com###homeBottomBoxBanner
@@ -1,7 +1,7 @@
[Adblock Plus 3.13]
! Title: 🏔️ Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for AdBlock og Adblock Plus)
! Title 🇬🇧: Dandelion Sprout's West Nordic filters for tidier websites (for AdBlock and Adblock Plus)
! Version: 130720251
! Version: 200720251
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1301,6 +1301,7 @@ bankernorge.com##aside#sidebar
lav-det-selv.dk##.forum-sidebar .d-none
scm.dk##.banner-hidden
seoghoer.dk##div[data-type=ad]
nyhetsstrømmen.no##.aunit
! — — — — — — — — —
! 🇳🇴:Oppføringer for minst 3 nettsteder
! 🇬🇧:Entries for at least 3 websites
@@ -1,6 +1,6 @@
itle: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdGuard)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites
! Last modified: 13July2025v1
! Last modified: 20July2025v1
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1345,6 +1345,7 @@ lav-det-selv.dk##.forum-sidebar .d-none
scm.dk##.banner-hidden
seoghoer.dk##div[data-type=ad]
tiendeo.*##.text-center.justify-center.items-center
nyhetsstrømmen.no##.aunit
! — — — — — — — — —
! 🇳🇴:Oppføringer for minst 3 nettsteder
! 🇬🇧:Entries for at least 3 websites
@@ -3300,7 +3301,7 @@ triplx.dk##.aff-inner-col
||mygoodmerch.com^$all
! https://www•tv2•no/nyheter/forbruker/sjokksvar-pa-epost-harreisende/17805239/
! https://www•tv2•no/nyheter/forbruker/tenkte-shit-na-har-jeg-blitt-lurt/17474448/
||takstskolen.no^$document,domain=~suspekt_sertifiseringssystem_*
||takstskolen.no^$document,domain=~suspekt_sertifiseringssystem.*
! 🇬🇧:Pirate-product-selling stores registered by the serial scammers who go by the name of "xiang dao xin xi ji shu you xiang gong si".
||nofotballshop.com^$document
@@ -1,6 +1,6 @@
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uten sporerhvitelisting)
! Title 🇬🇧: Dandelion Sprout's Nordic filters for tidier websites (without tracker whitelistings)
! Last modified: 13July2025v1
! Last modified: 20July2025v1
! Expires: 18 hours
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
! Homepage: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/General-info.md
@@ -1345,6 +1345,7 @@ lav-det-selv.dk##.forum-sidebar .d-none
scm.dk##.banner-hidden
seoghoer.dk##div[data-type=ad]
tiendeo.*##.text-center.justify-center.items-center
nyhetsstrømmen.no##.aunit
! — — — — — — — — —
! 🇳🇴:Oppføringer for minst 3 nettsteder
! 🇬🇧:Entries for at least 3 websites
@@ -3228,7 +3229,7 @@ $all,ipaddress=195.242.152.122
||mygoodmerch.com^$all
! https://www•tv2•no/nyheter/forbruker/sjokksvar-pa-epost-harreisende/17805239/
! https://www•tv2•no/nyheter/forbruker/tenkte-shit-na-har-jeg-blitt-lurt/17474448/
||takstskolen.no^$doc,domain=~suspekt_sertifiseringssystem_*
||takstskolen.no^$doc,domain=~suspekt_sertifiseringssystem.*
! 🇬🇧:Pirate-product-selling stores registered by the serial scammers who go by the name of "xiang dao xin xi ji shu you xiang gong si".
||nofotballshop.com^$doc
File diff suppressed because it is too large Load Diff
@@ -1508,6 +1508,9 @@ def prepare_tpl(lines) -> str:
# ————— Privoxy version —————
# 25 July 2025: Found some documentation at last on https://www•privoxy•org/gitweb/?p=privoxy•git;a=blob_plain;f=default•action•master;hb=HEAD
# Also 25 July 2025: The Privoxy section of the script can't handle "^.*(...)$" for some unholy reason, requiring the more CPU-taxing open-ended RegExing.
def is_supported_privoxy(line) -> bool:
for token in UNSUPPORTED_PRIVOXY:
if token in line:
@@ -1545,6 +1548,12 @@ def prepare_privoxy(lines) -> str:
line
)
line = re.sub(
r"^.*domain=.*$",
"",
line
)
line = re.sub(
r"(! (Version|Last[ -]?[Mm]odified): .*)",
r"\1-Deprecated",
@@ -1600,25 +1609,7 @@ def prepare_privoxy(lines) -> str:
)
line = re.sub(
r"^\|\|",
r".",
line
)
line = re.sub(
r"^\|",
r".",
line
)
line = re.sub(
r"^/",
r"./",
line
)
line = re.sub(
r"[$,]3p$",
r"[$,][13]p$",
r"",
line
)
@@ -1683,6 +1674,12 @@ def prepare_privoxy(lines) -> str:
line
)
line = re.sub(
r"^\|\|?(.*)$",
r"\1",
line
)
line = re.sub(
r"^\*",
r"^.*$",
@@ -1803,6 +1800,72 @@ def prepare_privoxy(lines) -> str:
line
)
line = re.sub(
r"^(.*)\$xmlhttprequest$",
r"\1",
line
)
line = re.sub(
r"^://(.*)$",
r"\1",
line
)
line = re.sub(
r"^([a-z0-9-]{1,}\.[a-z]{2,20})(/.*)?$",
r".\1\2",
line
)
line = re.sub(
r"^(\.?([a-z0-9*-]{1,}\.){1,}[a-z]{2,20})$",
r"\1/",
line
)
line = re.sub(
r"^(.*)\|$",
r"\1",
line
)
line = re.sub(
r"^\^\.\*\$(.*)$",
r".\1",
line
)
line = re.sub(
r"^((no|dk|is|fo).*)$",
r".\1",
line
)
line = re.sub(
r"^.*badfilter$",
r"",
line
)
line = re.sub(
r"\$(first|~?third)-party$",
r"",
line
)
line = re.sub(
r".*\$(script|popup|object|image).*",
"",
line
)
line = re.sub(
r".*@@://.*",
"",
line
)
if is_supported_privoxy(line) and not line == '':
text += line + '\n'