EnergizedProtection / unblock

Let's make an annoyance free, better open internet, altogether!

Home Page:https://energized.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allowing subdomains?

a-t-0 opened this issue · comments

commented

Thank you for your beautiful work on this productivity support system!

I am not sure whether the following feature already exists, in which case I have not yet determined how to implement it or, whether it can be implemented.

Feature Request

  1. Would it be possible to allow subdomains like *somesite.com/groups/* whilst either blocking the domain *somesite.com?
  2. Would it be possible to allow subdomains like *somesite.com/groups/* whilst either blocking blocking subdomains *somesite.com/feed/*?

Attempt 0.

To test whether I could enable the existing implementation on I used the info under heading "Android" from instructions in this link: https://web.archive.org/web/20200415103714/https://energized.pro/instructions/#sh to try to see if I was able to allow a specific subdomain whilst the parent domain is blocked with the following local host file:

# --------------------------------------------
# L O C A L  H O S T
# --------------------------------------------
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 local
255.255.255.255 broadcasthost
::1 localhost
::1 ip6-localhost
::1 ip6-loopback
fe80::1%lo0 localhost
ff00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
0.0.0.0 0.0.0.0
# --------------------------------------------
0.0.0.0 www.facebook.com
Ex. *.facbook.com/groups*

Expected behavior:

Visiting www.facebook.com is not possible/blocked, but visiting www.facebook.com/groups is allowed.

Observed behavior:

Visiting www.facebook.com is not possible/blocked, and visiting www.facebook.com/groups is also blocked.

Attempt 0.

To test whether I could enable the existing implementation on I used the info under heading "Android" from instructions in this link: https://web.archive.org/web/20200415103714/https://energized.pro/instructions/#sh to try to see if I was able to allow a specific subdomain whilst the a different subdomain domain is blocked with the following local host file:

# --------------------------------------------
# L O C A L  H O S T
# --------------------------------------------
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 local
255.255.255.255 broadcasthost
::1 localhost
::1 ip6-localhost
::1 ip6-loopback
fe80::1%lo0 localhost
ff00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
0.0.0.0 0.0.0.0
# --------------------------------------------
0.0.0.0 www.facebook.com/feed
Ex. *.facbook.com/groups*

Expected behavior:

Visiting www.facebook.com/feed is not possible/blocked, but visiting www.facebook.com/groups is allowed and visiting www.facebook.com/events is allowed.

Observed behavior:

Visiting www.facebook.com/feed is possible/blocked, and visiting www.facebook.com/groups is also possible.