Fix and/or issue showcasing for AdGuard's filter compiler

This commit is contained in:
Imre Kristoffer Eilertsen
2020-06-10 18:57:22 +02:00
committed by GitHub
parent 2d4d12c363
commit be69015d73
8 changed files with 48 additions and 14 deletions
@@ -1,5 +1,5 @@
msFilterList
# Version: 01June2020v1-Alpha
# Version: 10June2020v1-Alpha
# Title: 🏔️ Dandelion Sprouts nordiske filtre for ryddigere nettsider
# Translated title: Dandelion Sprout's Nordic filters for tidier websites
: expires = 1
@@ -258,6 +258,9 @@ msFilterList
# Makes E-newspaper previews show up properly
# ——— Unknown cause ———
# https://github.com/DandelionSprout/adfilt/issues/67
# https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
+d notice.sp-prod.net
+d sp-prod.net
!#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 ———
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 010620201
! Version: 100620201
! Title: 🏔️ Dandelion Sprouts vestnordiske filtre for ryddigere nettsider (for Adblock Plus - Møter Eyeo sine regler)
! Translated title: Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with Eyeo compliance)
! Expires: 12 hours
@@ -875,6 +875,11 @@ krom.is#@#.share-container
! https://github.com/DandelionSprout/adfilt/issues/67
@@||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
! https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
@@||cmp.ekstrabladet.dk/get_site_data$xmlhttprequest,~third-party
@@||dialogue.sp-prod.net/messagingWithoutDetection.js$script,domain=ekstrabladet.dk
@@||notice.sp-prod.net^$frame,domain=ekstrabladet.dk
@@||sp-prod.net^$xmlhttprequest,domain=ekstrabladet.dk
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 010620201
! Version: 100620201
! 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
@@ -875,6 +875,11 @@ krom.is#@#.share-container
! https://github.com/DandelionSprout/adfilt/issues/67
@@||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
! https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
@@||cmp.ekstrabladet.dk/get_site_data$xmlhttprequest,~third-party
@@||dialogue.sp-prod.net/messagingWithoutDetection.js$script,domain=ekstrabladet.dk
@@||notice.sp-prod.net^$frame,domain=ekstrabladet.dk
@@||sp-prod.net^$xmlhttprequest,domain=ekstrabladet.dk
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
@@ -1,4 +1,4 @@
! Version: 01June2020v1
! Version: 10June2020v1
! 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
@@ -729,7 +729,7 @@ advokatbladet.no##.adnuntius-ad
fla.de##.adsenseblock
fl-arena.de##.content_right_medium_rect_ad_box
fl-arena.de##.do_not_print.article_teaser_no_border
www.tv2.no##body:not(.broom):style(padding-top: 70px !important)
www.tv2.no##body:not(.broom):not(.lab):style(padding-top: 70px !important)
tv2.no#?#div[id^=module-]:has(div[data-adslot^=fullscreen-])
||yrkesbil.no/gifs/*emty.gif^
||yrkesbil.no/gifs/1pix.gif^
@@ -908,9 +908,16 @@ krom.is#@#.share-container
! https://github.com/DandelionSprout/adfilt/issues/67
@@||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
! https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
@@||cmp.ekstrabladet.dk/get_site_data$xmlhttprequest,~third-party
@@||dialogue.sp-prod.net/messagingWithoutDetection.js$script,domain=ekstrabladet.dk
@@||notice.sp-prod.net^$frame,domain=ekstrabladet.dk
!#if env_firefox
@@||sp-prod.net^$xmlhttprequest,domain=ekstrabladet.dk
!#endif
!#if ext_ublock
!#if !adguard
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
!#endif
@@ -1,5 +1,5 @@
[Adblock Plus 3.4]
! Version: 01June2020v1-Alpha
! Version: 10June2020v1-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,6 +198,10 @@ 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
@@||cmp.ekstrabladet.dk/get_site_data$xmlhttprequest,~third-party
@@||dialogue.sp-prod.net/messagingWithoutDetection.js$script,domain=ekstrabladet.dk
@@||notice.sp-prod.net^$frame,domain=ekstrabladet.dk
@@||sp-prod.net^$xmlhttprequest,domain=ekstrabladet.dk
! 🇳🇴: ——— 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.
@@ -1,4 +1,4 @@
! Version: 01June2020v1
! Version: 10June2020v1
! 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
@@ -729,7 +729,7 @@ advokatbladet.no##.adnuntius-ad
fla.de##.adsenseblock
fl-arena.de##.content_right_medium_rect_ad_box
fl-arena.de##.do_not_print.article_teaser_no_border
www.tv2.no##body:not(.broom):style(padding-top: 70px !important)
www.tv2.no##body:not(.broom):not(.lab):style(padding-top: 70px !important)
tv2.no#?#div[id^=module-]:-abp-has(div[data-adslot^=fullscreen-])
||yrkesbil.no/gifs/*emty.gif^
||yrkesbil.no/gifs/1pix.gif^
@@ -908,9 +908,16 @@ krom.is#@#.share-container
! https://github.com/DandelionSprout/adfilt/issues/67
@@||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
! https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
@@||cmp.ekstrabladet.dk/get_site_data$xhr,1p
@@||dialogue.sp-prod.net/messagingWithoutDetection.js$script,domain=ekstrabladet.dk
@@||notice.sp-prod.net^$frame,domain=ekstrabladet.dk
!#if env_firefox
@@||sp-prod.net^$xhr,domain=ekstrabladet.dk
!#endif
!#if ext_ublock
!#if !adguard
!#include NorwegianExperimentalList%20alternate%20versions/AntiAdblockEntries.txt
!#endif
@@ -1,4 +1,4 @@
# Version: 01June2020v1-Alpha
# Version: 10June2020v1-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,6 +293,9 @@ contentMarketing
# Makes E-newspaper previews show up properly
# ——— Unknown cause ———
# https://github.com/DandelionSprout/adfilt/issues/67
# https://old.reddit.com/r/uBlockOrigin/comments/gye2f2/cant_watch_videos_on_a_specific_website_with/ft9zlse/
#
#
#
#
#
@@ -2647,9 +2647,9 @@ SOURCES = ['https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Dand
UNSUPPORTED_ABP = ['$important', ',important' '$redirect=', ',redirect=',
':style', '##+js', '.*#' , ':xpath', ':matches-css', 'dk,no##', 'version.bind', 'pizzaseo.com', 'gamecopyworld']
UNSUPPORTED_TPL = ['##', '#@#', '#?#', r'\.no\.$', '/^', 'version.bind', 'pizzaseo.com', 'gamecopyworld']
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '@@', '!#', '/^', 'gamecopyworld']
UNSUPPORTED_HOSTS = ['##', '#@#', '#?#', '@@', '!#', '[Adblock Plus 3.4]', '*', '/^']
UNSUPPORTED_TPL = ['##', '#@#', '#?#', r'\.no\.$', '/^', 'version.bind', 'pizzaseo.com', 'gamecopyworld', ': ']
UNSUPPORTED_PRIVOXY = ['##', '#@#', '#?#', '@@', '!#', '/^', 'gamecopyworld', '://']
UNSUPPORTED_HOSTS = ['##', '#@#', '#?#', '@@', '!#', '[Adblock Plus 3.4]', '*', '/^', '://']
UNSUPPORTED_AGH = ['$redirect=', ',redirect=',
'##', '.*#' , '#?#', 'gamecopyworld']