mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
supports hosts
This commit is contained in:
parent
ddc9c8c16d
commit
4e8ff416e7
12 changed files with 47 additions and 38 deletions
|
@ -316,13 +316,15 @@ Swiping on the top part of content window (near the top address bar by default)
|
|||
</item>
|
||||
|
||||
<item>
|
||||
<title>Blocking domain trees</title>
|
||||
<title>Hosts files</title>
|
||||
<link>/en/adblock_domain/</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/adblock_domain/</guid>
|
||||
<description>hosts 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.com&quot; and &quot;finance.yahoo.com&quot;. If the length of the last 2 segments is less than 7, such as &quot;com.pl&quot;, then it is treated as one segment, so domains like &quot;xxx.xxx.com.pl&quot; are also valid in the hosts file.
|
||||
Each line of the hosts file has the following format:</description>
|
||||
<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]
|
||||
&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.com&quot; and &quot;finance.yahoo.com&quot;. If the length of the last 2 segments is less than 7, such as &quot;com.</description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue