update mirrors

This commit is contained in:
James Feng Cao 2024-04-02 19:38:45 +08:00
parent 75cb8c0c1e
commit ed565d9960
61 changed files with 286 additions and 233 deletions

View file

@ -56,9 +56,9 @@
[文件后缀]:[mimetype]:[处理命令]</p>
<p>其中文件后缀可允许最多两段后缀,譬如&quot;txt.xz&quot;,&quot;html.gz&quot;<br>
mimetype表示命令处理后的输出内容格式。<br>
处理命令与<a href="../cmd/index.html">default.cmds</a>相同,主要可能用到如下替换:<br>
处理命令与<a href="../cmd/index.html#">default.cmds</a>相同,主要可能用到如下替换:<br>
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式</p>
<p>利用文件预处理,<a href="../../zh/">超微浏览器</a>现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。</p>
<p>利用文件预处理,<a href="../index.html#">超微浏览器</a>现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。</p>
<p>配置default.filecap如下</p>
<pre><code>txt:text/html:curl %p "%u"
mp3:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u">&lt;/audio>'
@ -73,12 +73,12 @@ docx:uweb:echo https://view.xdocin.com/view?src=%U
xlsx:uweb:echo https://view.xdocin.com/view?src=%U
pptx:uweb:echo https://view.xdocin.com/view?src=%U
xz:text/plain:curl %p "%u"|xz -d --</code></pre>
<p>安装过相应的<a href="../html5/index.html">html5应用</a>,则如下配置阅读相应格式文件:</p>
<p>安装过相应的<a href="../html5/index.html#">html5应用</a>,则如下配置阅读相应格式文件:</p>
<pre><code>pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html#?bookPath==%u</code></pre>
<p>长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。</p>
<p>如果用户配置中处理命令用到curl则需要安装<a href="../gnuplot/index.html">Termux</a>并在Termux中安装curl (&quot;apt install curl&quot;)。<br>
<p>如果用户配置中处理命令用到curl则需要安装<a href="../gnuplot/index.html#">Termux</a>并在Termux中安装curl (&quot;apt install curl&quot;)。<br>
如果用户不安装Termux则上述配置命令中的&quot;am&quot;需要全部路径,需用&quot;/system/bin/am&quot;替换。</p>
<p>使用微软服务预览office文档 (https://view.officeapps.live.com/op/view.aspx?src=)必需当前UA为PC否则会出现空白页面。有条件的用户建议使用google docs (&quot;http://docs.google.com/gview?embedded=true&amp;url=&quot;) 服务替换。</p>
<p>若使用手机应用预览文件则docx处理命令可改为</p>