hosts to support both ip address and response headers

This commit is contained in:
James Feng Cao 2023-04-07 15:32:34 +08:00
parent e8b5f412f0
commit 95c5410f00
6 changed files with 26 additions and 22 deletions

View file

@ -48,8 +48,8 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
<guid>/en/adblock_domain/</guid>
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect when the setting option &amp;quot;using hosts&amp;quot; is checked.
The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:
[IP address/attributes][single space][domain name]
where &amp;quot;[IP address/attributes]&amp;quot; could be:
[[IP address][attributes]][single space][domain name]
where &amp;quot;[[IP address][attributes]]&amp;quot; could be:
ipv4 address such as:
172.67.157.211 torapp.eu.org
ipv6 address, Ex.: