Add files via upload

This commit is contained in:
Imre Kristoffer Eilertsen
2020-10-31 22:58:50 +01:00
committed by GitHub
parent b93e443060
commit 8f4107a014
8 changed files with 19 additions and 11 deletions
@@ -1,5 +1,5 @@
msFilterList
# Version: 30October2020v3-Alpha
# Version: 31October2020v1-Alpha
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
# Translated title: Dandelion Sprout's Nordic filters for tidier websites
: expires = 1
@@ -1,4 +1,4 @@
! Version: 30October2020v3-Alpha
! Version: 31October2020v1-Alpha
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uMatrix-regler til å benytte sammen med domeneversjonen)
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (uMatrix rules to use together with the raw domains version)
! Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 301020203
! Version: 311020201
! Title: 🏔️ Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for Adblock Plus - Møter ABP sine inkluderingsregler)
! Translated title: Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance)
! Expires: 1 day
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 301020203
! Version: 311020201
! 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: 1 day
@@ -1,4 +1,4 @@
! Version: 30October2020v3
! Version: 31October2020v1
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for AdGuard)
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (for AdGuard)
! Expires: 1 day
@@ -552,6 +552,7 @@ _nettannonse.
/resources/dfp/*$app=no.nettavisen.phonegap.na
||finn.no^$app=no.bt
contentMarketing$app=no.sol
||jula.no^$removeparam=gclsrc
!#endif
! 🇳🇴: ——— Tomme restebokser som EasyList har etterlatt ———
@@ -1,4 +1,4 @@
! Version: 30October2020v3
! Version: 31October2020v1
! Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (uten sporerhvitelisting)
! Translated title: Dandelion Sprout's Nordic filters for tidier websites (without tracker whitelistings)
! Expires: 1 day
@@ -552,6 +552,7 @@ _nettannonse.
/resources/dfp/*$app=no.nettavisen.phonegap.na
||finn.no^$app=no.bt
contentMarketing$app=no.sol
||jula.no^$removeparam=gclsrc
!#endif
! 🇳🇴: ——— Tomme restebokser som EasyList har etterlatt ———
@@ -1,4 +1,4 @@
# Version: 30October2020v3-Alpha
# Version: 31October2020v1-Alpha
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider (for Privoxy)
# Translated title: Dandelion Sprout's Nordic filters for tidier websites (for Privoxy)
# Lisens / Licence: https://github.com/DandelionSprout/adfilt/blob/master/LICENSE.md
@@ -4,10 +4,10 @@ import re
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', '!+ ', '##^', '$$', '$app', '$csp=upgrade-insecure-requests']
':style', '##+js', '.*#' , 'dk,no##', '!#if', '!#endif', '!+ ', '##^', '$$', '$app', '$csp=upgrade-insecure-requests', '$removeparam']
UNSUPPORTED_TPL = ['##', '#@#', '#?#', r'\.no\.$']
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '!#', '$$', '$redirect', ',redirect', '$generichide', '$ghide', 'Expires:']
UNSUPPORTED_UMATRIX = ['##', '#@#', '#?#', '!#', '$$', '$redirect', ',redirect', 'generichide', 'Expires:', 'subdocument', '$app', '!+', '$doc', ' doc ', 'CSP', '$csp', 'ghide']
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '!#', '$$', '$redirect', ',redirect', '$generichide', '$ghide', 'Expires:', '$removeparam']
UNSUPPORTED_UMATRIX = ['##', '#@#', '#?#', '!#', '$$', '$redirect', ',redirect', 'generichide', 'Expires:', 'subdocument', '$app', '!+', '$doc', ' doc ', 'CSP', '$csp', 'ghide', '$removeparam']
OUTPUT = 'xyzzyx.txt'
OUTPUT_AG = 'NordicFiltersAdGuard.txt'
@@ -1162,6 +1162,12 @@ def prepare_tpl(lines) -> str:
line
)
line = re.sub(
r"^-d jula\.no$",
r"",
line
)
if is_supported_tpl(line) and not line == '':
text += line + '\r\n'
@@ -1817,7 +1823,7 @@ import re
SOURCES = ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianList.txt']
UNSUPPORTED_ABP = ['$important', ',important', '$redirect=', ',redirect=',
':style', '##+js', '.*#' , 'dk,no##', '!#if', '!#endif', '!+ ', '##^', '!#i', '$app', ':not(:-abp-', '$csp=upgrade-insecure-requests']
':style', '##+js', '.*#' , 'dk,no##', '!#if', '!#endif', '!+ ', '##^', '!#i', '$app', ':not(:-abp-', '$csp=upgrade-insecure-requests', '$removeparam']
OUTPUT = 'xyzzyxeyeo.txt'
OUTPUT_ABP = 'NordicFiltersABP-Inclusion.txt'