User Tools

Site Tools


talk:userspace:block_websites_from_hosts-file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
talk:userspace:block_websites_from_hosts-file [2021/05/19 14:47]
guillaume Minor bugs when load domains
talk:userspace:block_websites_from_hosts-file [2021/08/23 08:37] (current)
Line 40: Line 40:
 1) I cannot declare domains if the entry 127.0.0.1 did not exist in the hosts file. After that, if IP 127.0.0.1 without anything else after, is set i can push all domains. 1) I cannot declare domains if the entry 127.0.0.1 did not exist in the hosts file. After that, if IP 127.0.0.1 without anything else after, is set i can push all domains.
  
-2) When i try to remove all entries, it allways let the firt line in the blocklist defineded previously. It won't clear all. +2) When i try to remove all entries, it allways let the firt line in the blocklist defineded previously. It won't clear all , it stays and is never deleted, but all others entries are removed
-         a) example : 127.0.0.1 netflix.com stay and in never deleted, but all others entries are removed+         a) example : 127.0.0.1 netflix.com
 3) Then if I modify list in blocklist file, and i push again the script, the first entry in hosts file is not overwritten but added ... so if i do that many times for example i had that in host file : 3) Then if I modify list in blocklist file, and i push again the script, the first entry in hosts file is not overwritten but added ... so if i do that many times for example i had that in host file :
          a) 127.0.0.1 netflix.com netflix.com www.netflix.com bho.com www.bho.com crave.ca www.crave.ca movies.disney.com www.movies.disney.com disneyplus.com www.disneyplus.com wetransfer.com thepiratebay.org          a) 127.0.0.1 netflix.com netflix.com www.netflix.com bho.com www.bho.com crave.ca www.crave.ca movies.disney.com www.movies.disney.com disneyplus.com www.disneyplus.com wetransfer.com thepiratebay.org
talk/userspace/block_websites_from_hosts-file.txt · Last modified: 2021/08/23 08:37 (external edit)