DNS/blocklist: switch to ! for comments, block fonts, rename blocklist2 to more descriptive

This commit is contained in:
Aminda Suomalainen 2024-05-29 09:04:11 +03:00
parent 6df7db1c58
commit 9abf814126
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 26 additions and 12 deletions

View File

@ -1,12 +1,12 @@
# Version: 202405282034
# Description: Aminda gist blocklist test
# Title: Aminda's small blocklist
# Last modified: 2024-05-28T20:34:42+03:00
# Expires: 24 hours
# Syntax: Domains (wildcards)
# License: CC-0
! Version: 202405290901
! Description: Aminda gist blocklist test
! Title: Aminda's small blocklist
! Last modified: 2024-05-29T09:01:33+03:00
! Expires: 24 hours
! Syntax: Domains (wildcards)
! License: CC-0
!#include blocklist2.txt
!#include blocklist.ublockorigin.txt
google-analytics.com
*.google-analytics.com
*.ssl.google-analytics.com

View File

@ -1,4 +0,0 @@
# https://github.com/gorhill/uBlock/wiki/Static-filter-syntax
#/detect-missing-adblocker@*.js*
# https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-remote-fonts
*$font,third-party

View File

@ -0,0 +1,18 @@
! https://github.com/gorhill/uBlock/wiki/Static-filter-syntax
! Block third party fonts. Once I experience breakage, I will switch to the
! second rule after which more breakage reports I will keep both commented.
! However personally I am unlikely to see this as I keep changing font through
! Dark Reader and OpenDyslexic extensions anyway...
*$font
! In case of issues add a custom filter `*$font,badfilter`
! This suggests disabling only third party fonts
! https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-remote-fonts
! NOTE that this doesn't seem to affect LocalCDN (which would mind first party
! fonts being blocked though as it only cares about CDNs)
!*$font,third-party
! The above suggests `*$font,third-party,badfilter` possibly would override
! this in custom rules.