add enhanced hosts support to README

This commit is contained in:
James Feng Cao 2023-04-03 09:13:07 +08:00
parent ed7de221d0
commit 37e1fae65a
15 changed files with 38 additions and 34 deletions

View file

@ -56,7 +56,7 @@ ipv6 address, Ex.:
[2606:4700:3037::6815:8c3] torapp.eu.org
empty, that would lift all server-imposed limitations. Ex.:
[single space]gitee.com
&amp;quot;default.hosts&amp;quot; blocks whole domain trees including all descedant domains.</description>
which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
<item>

View file

@ -67,6 +67,7 @@
[single space]gitee.com</p>
</li>
</ul>
<p>which will make all git repositories on the domain visitable as websites with raw file access url.</p>
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">&quot;default.hosts&quot;</a> 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.</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 &quot;http(s)://&quot;]<br>

View file

@ -51,7 +51,8 @@
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
<h4 id="change-logs">Change logs</h4>
<p>985: <a href="../links/index.html">Special urls</a> to support shortcut keys such as ctrl-a to ctrl-z.<br>
<p>987: enhance <a href="../adblock_domain/index.html">hosts</a> file to support domain attributes, such as lifting limitations with empty ip address.<br>
985: <a href="../links/index.html">Special urls</a> to support shortcut keys such as ctrl-a to ctrl-z.<br>
983: support <a href="../adblock_domain/index.html">&quot;hosts&quot;</a> file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.<br>
975: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
@ -76,8 +77,8 @@
</ul>
</div>
<p>Last Modified: 22 March 2023<br>
add option https to func.html<br>
<p>Last Modified: 3 April 2023<br>
enhance hosts file to add attributes to domains<br>
<pre></pre>
</p>

View file

@ -56,7 +56,7 @@ ipv6 address, Ex.:
[2606:4700:3037::6815:8c3] torapp.eu.org
empty, that would lift all server-imposed limitations. Ex.:
[single space]gitee.com
&amp;quot;default.hosts&amp;quot; blocks whole domain trees including all descedant domains.</description>
which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
<item>
@ -196,10 +196,10 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc.
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.</description>
975: Bookmarks to support styling for markdown etc.</description>
</item>
<item>

View file

@ -64,7 +64,7 @@
<li>Site-specific JS/CSS/HTML/preprocessing.</li>
<li>Online play/preview/preprocess for downloadable resources.</li>
<li>Multiple type profiles: switch any data including website logins, user configurations orthogonally.</li>
<li>Supports user &quot;hosts&quot; file.</li>
<li>Supports enhanced user &quot;hosts&quot; file. Empty IP address to lift all server-imposed limitations.</li>
</ul>
<h4 id="main-features">Main features</h4>
<p>Custom paper size PDF export and long vector screenshot, TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup &amp; restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).</p>
@ -96,8 +96,8 @@
</ul>
</div>
<p>Last Modified: 1 April 2023<br>
sync newbinggogo<br>
<p>Last Modified: 3 April 2023<br>
enhance hosts file to add attributes to domains<br>
<pre></pre>
</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-04-03T08:21:31+08:00</lastmod>
<lastmod>2023-04-03T09:03:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-04-03T08:21:31+08:00</lastmod>
<lastmod>2023-04-03T09:06:30+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -55,10 +55,10 @@
/>
</url><url>
<loc>/en/tags/adblock/</loc>
<lastmod>2023-04-03T08:21:31+08:00</lastmod>
<lastmod>2023-04-03T09:03:08+08:00</lastmod>
</url><url>
<loc>/en/adblock_domain/</loc>
<lastmod>2023-04-03T08:21:31+08:00</lastmod>
<lastmod>2023-04-03T09:03:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -71,7 +71,7 @@
/>
</url><url>
<loc>/en/tags/</loc>
<lastmod>2023-04-03T08:21:31+08:00</lastmod>
<lastmod>2023-04-03T09:03:08+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -97,7 +97,7 @@
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2023-03-22T19:01:51+08:00</lastmod>
<lastmod>2023-04-03T08:59:00+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -194,7 +194,7 @@
/>
</url><url>
<loc>/en/changelog/</loc>
<lastmod>2023-03-22T19:01:51+08:00</lastmod>
<lastmod>2023-04-03T08:59:00+08:00</lastmod>
</url><url>
<loc>/en/sitemap/</loc>
<lastmod>2023-02-01T09:52:11+08:00</lastmod>
@ -508,7 +508,7 @@
/>
</url><url>
<loc>/en/readme/</loc>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
<lastmod>2023-04-03T09:06:30+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -533,7 +533,7 @@
/>
</url><url>
<loc>/en/unlist/</loc>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
<lastmod>2023-04-03T09:06:30+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -22,7 +22,7 @@ ipv6 address, Ex.:
[2606:4700:3037::6815:8c3] torapp.eu.org
empty, that would lift all server-imposed limitations. Ex.:
[single space]gitee.com
&amp;quot;default.hosts&amp;quot; blocks whole domain trees including all descedant domains.</description>
which will make all git repositories on the domain visitable as websites with raw file access url.</description>
</item>
</channel>

View file

@ -64,10 +64,10 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support &amp;quot;hosts&amp;quot; file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc.
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.</description>
975: Bookmarks to support styling for markdown etc.</description>
</item>
<item>