mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
use [ipv6] in hosts
This commit is contained in:
parent
62f3a10994
commit
5dcba20904
18 changed files with 54 additions and 33 deletions
|
@ -37,7 +37,11 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
<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>
|
||||
Here is an example line with ipv4:
|
||||
172.67.157.211 torapp.eu.org
|
||||
or with ipv6:
|
||||
[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>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -52,14 +52,18 @@
|
|||
<p>The hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.</p>
|
||||
<p>The file <a href="file:///data/data/info.torapp.uweb/files/hosts">"hosts"</a> defines IP addresses for domains. Each line has the following format:<br>
|
||||
[IP address][single space][domain name]</p>
|
||||
<p>Here is an example line with ipv4:<br>
|
||||
172.67.157.211 torapp.eu.org</p>
|
||||
<p>or with ipv6:<br>
|
||||
[2606:4700:3037::6815:8c3] torapp.eu.org</p>
|
||||
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">"default.hosts"</a> blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.</p>
|
||||
<p>Each line of the hosts file has the following format:<br>
|
||||
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]<br>
|
||||
The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 21 March 2023<br>
|
||||
supports hosts<br>
|
||||
<p>Last Modified: 1 April 2023<br>
|
||||
use [ipv6] in hosts<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -37,7 +37,11 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
<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>
|
||||
Here is an example line with ipv4:
|
||||
172.67.157.211 torapp.eu.org
|
||||
or with ipv6:
|
||||
[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>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -105,6 +105,10 @@ Config http proxy, ":010:" to disable any proxy.</p>
|
|||
<p>:011[socks host]:[port]<br>
|
||||
Socks proxy</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>:0cc[url1]:[url2]<br>
|
||||
cookie copy from url1 to url2</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 id="commands">commands</h4>
|
||||
<ul>
|
||||
|
@ -298,8 +302,8 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 22 March 2023<br>
|
||||
add option https to func.html<br>
|
||||
<p>Last Modified: 1 April 2023<br>
|
||||
use [ipv6] in hosts<br>
|
||||
<pre>i:56 urls support CTRL_A to CTRL-Z
|
||||
</pre>
|
||||
</p>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a><br>
|
||||
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/changelog/index.html'}">Downloads</a></p>
|
||||
<p><a href="https://torappinfo.github.io/uweb/en/">Uweb browser: downloads, plugins and tips</a><br>
|
||||
(Mirrors: <a href="https://uwebzh.netlify.app/en/">netlify</a> <a href="https://jamesfengcao.gitlab.io/uweb/en/">gitlab</a> <a href="https://uweb.stormkit.dev/en/">stormkit</a> <a href="https://uweb.surge.sh/en/">surge</a> <a href="https://jamesfengcao.codeberg.page/en/">codeberg</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html">repo</a> <a href="https://muweb.pages.dev/en/">pages</a> <a href="https://uweb.vercel.app/en/">vercel</a> <a href="https://torappinfo.bitbucket.io/en/">bitbucket</a> <a href="https://uwebzh.onrender.com/en/">render</a>)</p>
|
||||
(Mirrors: <a href="https://uwebzh.netlify.app/en/">netlify</a> <a href="https://jamesfengcao.gitlab.io/uweb/en/">gitlab</a> <a href="https://uweb.stormkit.dev/en/">stormkit</a> <a href="https://uweb.surge.sh/en/">surge</a> <a href="https://jamesfengcao.codeberg.page/en/">codeberg</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html">repo</a> <a href="https://muweb.pages.dev/en/">pages</a> <a href="https://uweb.vercel.app/en/">vercel</a> <a href="https://torappinfo.bitbucket.io/en/">bitbucket</a> <a href="https://uweb.onrender.com/en/">render</a>)</p>
|
||||
<ul>
|
||||
<li>Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux.</li>
|
||||
<li>Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.</li>
|
||||
|
@ -96,8 +96,8 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 30 March 2023<br>
|
||||
domain changes<br>
|
||||
<p>Last Modified: 31 March 2023<br>
|
||||
use [ipv6] in hosts<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
if("https://www.bing.com/turing/conversation/create"==url){
|
||||
url = "https://mybing1.xn--xyza.top/Create";
|
||||
options = {
|
||||
headers:{"Cookie1":document.cookie},
|
||||
headers:{},
|
||||
};
|
||||
}
|
||||
return oFetch(url,options)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-03-29T07:19:36+08:00</lastmod>
|
||||
<lastmod>2023-04-01T15:05:21+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -16,7 +16,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/links/</loc>
|
||||
<lastmod>2023-03-22T22:52:24+08:00</lastmod>
|
||||
<lastmod>2023-04-01T08:54:03+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -29,7 +29,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-03-30T21:40:37+08:00</lastmod>
|
||||
<lastmod>2023-04-01T15:05:21+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -42,10 +42,10 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/adblock/</loc>
|
||||
<lastmod>2023-03-21T13:34:07+08:00</lastmod>
|
||||
<lastmod>2023-04-01T15:05:21+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/adblock_domain/</loc>
|
||||
<lastmod>2023-03-21T13:34:07+08:00</lastmod>
|
||||
<lastmod>2023-04-01T15:05:21+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -58,7 +58,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/</loc>
|
||||
<lastmod>2023-03-21T13:34:07+08:00</lastmod>
|
||||
<lastmod>2023-04-01T15:05:21+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -508,7 +508,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/readme/</loc>
|
||||
<lastmod>2023-03-30T21:40:37+08:00</lastmod>
|
||||
<lastmod>2023-03-31T10:23:52+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -533,7 +533,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/unlist/</loc>
|
||||
<lastmod>2023-03-30T21:40:37+08:00</lastmod>
|
||||
<lastmod>2023-03-31T10:23:52+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
|
|
@ -15,7 +15,11 @@
|
|||
<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>
|
||||
Here is an example line with ipv4:
|
||||
172.67.157.211 torapp.eu.org
|
||||
or with ipv6:
|
||||
[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>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue