mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
enhance hosts to add attributes for domains
This commit is contained in:
parent
23e9a9179d
commit
ed7de221d0
7 changed files with 56 additions and 36 deletions
|
@ -46,14 +46,17 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/adblock_domain/</guid>
|
||||
<description>The hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.
|
||||
The file &quot;hosts&quot; defines IP addresses for domains. Each line has the following format:
|
||||
[IP address][single space][domain name]
|
||||
Here is an example line with ipv4:
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.
|
||||
The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
[IP address/attributes][single space][domain name]
|
||||
where &quot;[IP address/attributes]&quot; could be:
|
||||
ipv4 address such as:
|
||||
172.67.157.211 torapp.eu.org
|
||||
or with ipv6:
|
||||
ipv6 address, Ex.:
|
||||
[2606:4700:3037::6815:8c3] torapp.eu.org
|
||||
&quot;default.hosts&quot; blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as &quot;yahoo.</description>
|
||||
empty, that would lift all server-imposed limitations. Ex.:
|
||||
[single space]gitee.com
|
||||
&quot;default.hosts&quot; blocks whole domain trees including all descedant domains.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue