From 37a52384784ae81a96295072171f392cfe105c21 Mon Sep 17 00:00:00 2001 From: Peter Snyder Date: Tue, 15 Sep 2020 16:00:39 -0700 Subject: [PATCH 1/2] add rules to block requests to local resources, from non local websites, fixes #462 --- brave-lists/brave-specific.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/brave-lists/brave-specific.txt b/brave-lists/brave-specific.txt index 461bc17d1..492ab40e6 100644 --- a/brave-lists/brave-specific.txt +++ b/brave-lists/brave-specific.txt @@ -1 +1,4 @@ ! Specific filters (Tracking or ads) for Brave +||localhost^$third-party,domain=~127.0.0.1|~[::1] +||127.0.0.1^$third-party,domain=~localhost|~[::1] +||[::1]^$third-party,domain=~localhost|~127.0.0.1 \ No newline at end of file From ef7f944c653b49a87b21d70071ed99bf9c1d6fe1 Mon Sep 17 00:00:00 2001 From: Peter Snyder Date: Tue, 15 Sep 2020 16:00:39 -0700 Subject: [PATCH 2/2] block .local request like other local resource requests --- brave-lists/brave-specific.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/brave-lists/brave-specific.txt b/brave-lists/brave-specific.txt index 492ab40e6..f625fd189 100644 --- a/brave-lists/brave-specific.txt +++ b/brave-lists/brave-specific.txt @@ -1,4 +1,5 @@ ! Specific filters (Tracking or ads) for Brave -||localhost^$third-party,domain=~127.0.0.1|~[::1] -||127.0.0.1^$third-party,domain=~localhost|~[::1] -||[::1]^$third-party,domain=~localhost|~127.0.0.1 \ No newline at end of file +||localhost^$third-party,domain=~127.0.0.1|~[::1]|~local +||127.0.0.1^$third-party,domain=~localhost|~[::1]|~local +||[::1]^$third-party,domain=~localhost|~127.0.0.1|~local +||local^$third-party,domain=~localhost|~127.0.0.1|~[::1]