supports hosts for local domain name resolving

This commit is contained in:
James Feng Cao 2023-03-20 11:57:14 +08:00
parent 2817b68a19
commit ddc9c8c16d
12 changed files with 36 additions and 23 deletions

View file

@ -1,4 +1,4 @@
### 超微浏览器: 微、威、快、高效、极致优化
### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化
<a href="README.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/readme/index.html'}">English</a>
<a href="zh/donate.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../searchurl/donate.html'}">捐赠</a>
@ -9,7 +9,7 @@
[超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/)
(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [epizy](http://uweb.epizy.com/) [pages](https://uwebzh.pages.dev/zh/) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb-zh.vercel.app/zh/))
- <span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/en/search/index.html" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/search/index.html'}">newbing/chatgpt</a></span>
- <span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/zh/tips/index.html" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../tips/index.html'}">newbing/chatgpt</a></span>
- 微不到200K。
- 威支持使用js脚本、url服务、shell命令、内部功能链接定制菜单按钮手势; 远程数据皆可成网站。html5应用增强可匹配本地应用。
- 便捷图书pdf/djvu/txt/词典mdict,kiwix/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
@ -30,7 +30,7 @@
#### 软件功能
输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置ua禁用脚本无图激活脚本、行编辑器、代码编辑器支持120多种语言语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试。通过安装html5应用可预览阅读本地或在线任意格式文件pdf,djvu,epub,mdx/mdd,docx等
修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫"超级书签"。成功使用时保存,需要时就可以无限恢复。(比如newbing的使用)
修仙小说里面有一种异能,叫做“成功可以复制”,只要成功一次,就能无限复制。超微浏览器中这种异能叫"超级书签"。成功使用时保存,需要时就可以无限恢复。(比如newbing/chatGPT直接使用)
小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。

View file

@ -51,7 +51,7 @@
<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>978: Support user defined http request headers. Newbing/chatGPT can be default engine in China etc.<br>
<p>983: support local domain name resolving (DNS) with the file &quot;hosts&quot;, 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>
968: multiple links support for single MENU/(New)Button/GESTURE definition.<br>
@ -75,7 +75,7 @@
</ul>
</div>
<p>Last Modified: 6 March 2023<br>
<p>Last Modified: 20 March 2023<br>
add revision history<br>
<pre></pre>
</p>

View file

@ -63,6 +63,7 @@
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.uas">default.uas</a>&quot;:<a href="../searchurl/uas.html">user agents</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.urls">default.urls</a>&quot;:<a href="../urls/index.html">service urls</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.acmd">default.acmd</a>&quot;:<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/hosts">hosts</a>&quot;: for local domain name resolving, only single space is allowed to separate ip address and domain name.<br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.hosts">default.hosts</a>&quot;:<a href="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.redirect">default.redirect</a>&quot;:<a href="../redirect/index.html">redirect websites</a><br>
&quot;<a href="file:///data/data/info.torapp.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html">commands</a><br>
@ -100,7 +101,7 @@
<p>&quot;shortcut/&quot;: dynamical shortcut, if not exist, then default to &quot;bookmark&quot;.</p>
</div>
<p>Last Modified: 17 February 2023<br>
<p>Last Modified: 20 March 2023<br>
refine markdeep.html<br>
<pre></pre>
</p>

View file

@ -131,7 +131,7 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 978: Support user defined http request headers. Newbing/chatGPT can be default engine in China etc.
Main features Change logs 983: support local domain name resolving (DNS) with the file &amp;quot;hosts&amp;quot;, 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.
968: multiple links support for single MENU/(New)Button/GESTURE definition.

View file

@ -287,10 +287,16 @@ Similar to i:5i, except executing the js file after possible url hash change.</p
<p>i:70[url]:[auto page turning url]<br>
Visiting [url], but use the second url as auto paging url.</p>
</li>
<li>
<p>i:92[http request headers separated by ';']:[url]<br>
The &quot;Host&quot; Header (fake header, different from the standard) must be the first header.<br>
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com<br>
use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to visit the site with specified IP address.</p>
</li>
</ul>
</div>
<p>Last Modified: 13 March 2023<br>
<p>Last Modified: 20 March 2023<br>
add revision history<br>
<pre>Add &#39;clear cookie
enhance i:0m

View file

@ -97,7 +97,7 @@
</div>
<p>Last Modified: 16 March 2023<br>
add revision history<br>
add gitgud<br>
<pre></pre>
</p>

View file

@ -16,7 +16,7 @@
/>
</url><url>
<loc>/en/topposts/</loc>
<lastmod>2023-03-13T21:36:05+08:00</lastmod>
<lastmod>2023-03-20T11:56:16+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-03-16T15:46:36+08:00</lastmod>
<lastmod>2023-03-20T11:56:16+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -42,7 +42,7 @@
/>
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2023-03-14T18:51:30+08:00</lastmod>
<lastmod>2023-03-20T11:54:34+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -165,7 +165,7 @@
/>
</url><url>
<loc>/en/changelog/</loc>
<lastmod>2023-03-06T11:35:42+08:00</lastmod>
<lastmod>2023-03-20T11:56:16+08:00</lastmod>
</url><url>
<loc>/en/sitemap/</loc>
<lastmod>2023-02-01T09:52:11+08:00</lastmod>
@ -181,7 +181,7 @@
/>
</url><url>
<loc>/en/filenames/</loc>
<lastmod>2023-02-17T19:57:52+08:00</lastmod>
<lastmod>2023-03-20T11:54:34+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -194,7 +194,7 @@
/>
</url><url>
<loc>/en/links/</loc>
<lastmod>2023-03-13T09:04:09+08:00</lastmod>
<lastmod>2023-03-20T06:54:52+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -45,7 +45,7 @@ github
sourceforge
powerfolder
pagure
Main features Change logs 978: Support user defined http request headers. Newbing/chatGPT can be default engine in China etc.
Main features Change logs 983: support local domain name resolving (DNS) with the file &amp;quot;hosts&amp;quot;, 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.
968: multiple links support for single MENU/(New)Button/GESTURE definition.

View file

@ -4,14 +4,14 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-03-16T15:46:36+08:00</lastmod>
<lastmod>2023-03-20T11:56:16+08:00</lastmod>
</sitemap>
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-03-16T15:45:47+08:00</lastmod>
<lastmod>2023-03-20T06:58:58+08:00</lastmod>
</sitemap>

View file

@ -240,10 +240,16 @@ play video in external player</p>
<p>i:70[url]:[自动翻页url]<br>
访问网址url但指定使用后一网址自动翻页</p>
</li>
<li>
<p>i:92[http request headers separated by ';']:[url]<br>
The &quot;Host&quot; Header (fake header, different from the standard) must be the first header.<br>
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com<br>
use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to visit the site with specified IP address.</p>
</li>
</ul>
</div>
<p>Last Modified: 20 February 2023<br>
<p>Last Modified: 20 March 2023<br>
use relative path<br>
<pre></pre>
</p>

View file

@ -85,7 +85,7 @@
</div>
<p>Last Modified: 16 March 2023<br>
add more details to use newbing<br>
add gitgud<br>
<pre></pre>
</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2023-03-14T18:50:32+08:00</lastmod>
<lastmod>2023-03-20T06:58:58+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -16,7 +16,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-03-16T15:45:47+08:00</lastmod>
<lastmod>2023-03-20T06:58:58+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -220,7 +220,7 @@
<lastmod>2022-09-24T14:06:03+08:00</lastmod>
</url><url>
<loc>/zh/links/</loc>
<lastmod>2023-02-20T21:56:38+08:00</lastmod>
<lastmod>2023-03-20T06:58:58+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"