Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DandelionSprout authored Jan 7, 2025
1 parent a49ffdd commit cdc41a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6277,7 +6277,7 @@ nytid.no,tipsbladet.no#@#div.td-a-rec img
! Title: Adblock List for Finland
! Description: Finnish adblock list
! Expires: 4 days
! Last modified: Sun, 29 Dec 2024 12:52:19 +0000
! Last modified: Mon, 06 Jan 2025 23:54:20 +0000
! 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:
Expand Down Expand Up @@ -7349,6 +7349,7 @@ tori.fi##div#banner_panorama_topmost
tori.fi##div#panorama_top
tori.fi##div#panorama_topmost
traktorpool.fi##.billboard
treykalenteri.fi##.promotion-image
ts.fi##[class="tsv3-c-common-article__contentad notloaded"]
ts.fi##[data-readpeakurl^="https://app.readpeak.com/ads/"]
ts.fi##div[class*="tsv3-c-common-smart noad-hideaction"]
Expand Down
12 changes: 12 additions & 0 deletions NorwegianExperimentalList alternate versions/XYZPrepareFilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -7036,6 +7036,18 @@ def prepare_domains(lines) -> str:
line
)

line = re.sub(
r"^.*\$(ipaddress|network).*$",
r"",
line
)

line = re.sub(
r"^[a-z0-9].*\.$",
r"",
line
)

if is_supported_domains(line) and not line == '':
text += line + '\n'

Expand Down

0 comments on commit cdc41a6

Please sign in to comment.