rebuilding site Mon Aug 24 10:55:04 AM CST 2020

This commit is contained in:
James Feng Cao 2020-08-24 10:55:05 +08:00
parent 3e2ef52000
commit c29d189ab9
13 changed files with 261 additions and 237 deletions

View File

@ -6,11 +6,80 @@
<description>Recent content in _posts on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 23 Aug 2020 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://jamesfengcao.gitee.io/uweb/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件
pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>https://jamesfengcao.gitee.io/uweb/filenames/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filenames/</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件。如果用户勾选“使用内部目录配置”,&amp;quot;sitejs/&amp;quot;,&amp;quot;sitecache/&amp;quot;等位于应用内部保护目录下。否则以下所有文件/目录均位于&amp;quot;/sdcard/uweb&amp;quot;
&amp;quot;css/&amp;quot;:全局样式目录
&amp;quot;js/&amp;quot;: 全局脚本目录
&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址
&amp;quot;sitecss/&amp;quot;:针对特定网址css样式
&amp;quot;bookmarklet/&amp;quot;:js脚本目录
&amp;quot;offline/&amp;quot;:离线下载目录
&amp;quot;sbookmark/&amp;quot;:超级书签默认目录
&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据
&amp;quot;longclick/&amp;quot;:长按链接菜单(js)
&amp;quot;app[XXX]/&amp;quot;:html5应用目录
&amp;quot;default.longclick&amp;quot;:长按链接菜单
&amp;quot;default.uas&amp;quot;:浏览器标识
&amp;quot;default.urls&amp;quot;:特色服务
&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置
&amp;quot;default.hosts&amp;quot;:广告屏蔽文件
&amp;quot;default.redirect&amp;quot;:重定向配置
&amp;quot;default.select&amp;quot;:长按“链接”按钮配置
&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置
&amp;quot;default.link&amp;quot;:长按“书签”按钮配置
&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作
&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。
&amp;quot;default.filecap&amp;quot;:文件特殊处理
&amp;quot;default.rjs&amp;quot;:远程及简单脚本
&amp;quot;default.engine&amp;quot;:搜索引擎url列表(搜索词部分用%s代替),供自动顺序搜索使用。
&amp;quot;default.siteconf&amp;quot;:网站独立设置
&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串
&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串
&amp;quot;home5.html&amp;quot;:自定义主屏
&amp;quot;home5.search&amp;quot;:主屏搜索引擎
&amp;quot;bookmark.html&amp;quot;:主书签
&amp;quot;quickstart.html&amp;quot;:快速访问
&amp;quot;colors.txt&amp;quot;:护眼背景色
&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式
&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现
&amp;quot;types.sniff&amp;quot;:嗅探类型
&amp;quot;sniff.log&amp;quot;:嗅探结果
&amp;quot;history.log&amp;quot;:访问历史
&amp;quot;query.log&amp;quot;:查询历史
应用内部保护目录(/data/data/info.torapp.uweb/files/):
&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;/sdcard/uweb/bookmark&amp;quot;目录。</description>
</item>
<item>
<title>常用链接</title>
<link>https://jamesfengcao.gitee.io/uweb/links/</link>
@ -42,55 +111,6 @@ noproxy::010:
如果网站并非视频类小网站,长按底部工具栏[☰]按钮,选取&amp;quot;禁用iframe&amp;quot;,此法可屏蔽大多数广告。更多可参看自定义样式屏蔽广告。 对非复杂交互非国内广告大厂网页而言(譬如云盘管理属复杂交互),特别是小说网站,可以长按设置,选取&amp;quot;屏蔽外链脚本&amp;quot;。(内在逻辑:小网站一般无力开发完整的广告系统,它们经常使用大厂的广告脚本。) 利用视频全屏播放屏蔽一切广告。 长按[☰]按钮可屏蔽浮动广告。 双正则表达式hosts文件绝杀广告。 针对特定网站的脚本样式屏蔽广告。 对非图片为主的网站可直接关闭图像。 对非交互性网站,可关闭[JS]脚本。 </description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>https://jamesfengcao.gitee.io/uweb/filenames/</link>
<pubDate>Sat, 22 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filenames/</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件。如果用户勾选“使用内部目录配置”,&amp;quot;sitejs/&amp;quot;,&amp;quot;sitecache/&amp;quot;等位于应用内部保护目录下。否则以下所有文件/目录均位于&amp;quot;/sdcard/uweb&amp;quot;
&amp;quot;css/&amp;quot;:全局样式目录
&amp;quot;js/&amp;quot;: 全局脚本目录
&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址
&amp;quot;sitecss/&amp;quot;:针对特定网址css样式
&amp;quot;bookmarklet/&amp;quot;:js脚本目录
&amp;quot;offline/&amp;quot;:
&amp;quot;sbookmark/&amp;quot;:超级书签默认目录
&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据
&amp;quot;longclick/&amp;quot;:长按链接菜单(js)
&amp;quot;app[XXX]/&amp;quot;:html5应用目录
&amp;quot;default.longclick&amp;quot;:长按链接菜单
&amp;quot;default.uas&amp;quot;:浏览器标识
&amp;quot;default.urls&amp;quot;:特色服务
&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置
&amp;quot;default.hosts&amp;quot;:广告屏蔽文件
&amp;quot;default.redirect&amp;quot;:重定向配置
&amp;quot;default.select&amp;quot;:长按“链接”按钮配置
&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置
&amp;quot;default.link&amp;quot;:长按“书签”按钮配置
&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作
&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。
&amp;quot;default.filecap&amp;quot;:
&amp;quot;default.rjs&amp;quot;:远程及简单脚本
&amp;quot;default.engine&amp;quot;:搜索引擎url列表(搜索词部分用%s代替),供自动顺序搜索使用。
&amp;quot;default.siteconf&amp;quot;:网站独立设置
&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串
&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串
&amp;quot;home5.html&amp;quot;:自定义主屏
&amp;quot;home5.search&amp;quot;:主屏搜索引擎
&amp;quot;bookmark.html&amp;quot;:主书签
&amp;quot;quickstart.html&amp;quot;:快速访问
&amp;quot;colors.txt&amp;quot;:护眼背景色
&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式
&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现
&amp;quot;types.sniff&amp;quot;:嗅探类型
&amp;quot;sniff.log&amp;quot;:嗅探结果
&amp;quot;history.log&amp;quot;:访问历史
&amp;quot;query.log&amp;quot;:查询历史
应用内部保护目录(/data/data/info.torapp.uweb/files/):
&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;/sdcard/uweb/bookmark&amp;quot;目录。</description>
</item>
<item>
<title>html5应用</title>
<link>https://jamesfengcao.gitee.io/uweb/html5/</link>
@ -98,6 +118,8 @@ noproxy::010:
<guid>https://jamesfengcao.gitee.io/uweb/html5/</guid>
<description>超微配置目录下的子目录名如果以&amp;quot;app&amp;quot;开始(譬如&amp;quot;/sdcard/uweb/appPDF&amp;quot;),则这些&amp;quot;app&amp;quot;开头目录树下放置的html5应用将可获得功能增强。
配置default.filecap并打开选项“文件预处理”清后台重启浏览器后超微可直接阅读应用对应格式文件。
点击配置pdf.js,djvu.js,epub.js reader
比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。直接解压缩下载的pdf.js包至appXXX子目录下并在超微浏览器下访问如下url:
file:///sdcard/uweb/appXXX....../web/viewer.html?file=[绝对或相对路径].pdf#page=[xxx]
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。
@ -213,24 +235,6 @@ seedr的问题是首次登录需要google人机验证登录成功以后可以
现在直接上方案使用超微浏览器多账号登录。飞行1分钟以后成功登录seedr, 此时退出浏览器,千万不能强退,一定要让运存中的登录信息写到内部存储。然后用户可备份应用内部目录下的.cjar文件一旦浏览器失去登录状态可恢复此文件即可使用多账号登录重新登录让这1分钟飞行成果保存下来供万万年使用。需要注意的一点是用户退出seedr账号会使保存的文件作废。故千万不要退出账号需要用其它账号登录的请使用多账号登录。</description>
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; xls::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; ppt::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; docx::am start --user 0 -a android.</description>
</item>
<item>
<title>利用浏览器地址栏对函数作图</title>
<link>https://jamesfengcao.gitee.io/uweb/gnuplot/</link>

View File

@ -41,14 +41,18 @@ m4b:text/html:echo '&lt;audio controls width=100% height=100%>&lt;source src="%u
m3u8:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mp4:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
mkv:text/html:echo '&lt;video controls width=100% height=100%>&lt;source src="%u">&lt;/video>'
doc::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
xls::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
ppt::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
docx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
xlsx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
pptx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
xz:text/plain:curl %p "%u"|xz -d --</code></pre>
<p>长按窗口按钮,勾选“文件预处理”,重启浏览器。则点击下载按钮时上述文件类型会自动预览。</p>
<p>安装过相应的<a href="../html5">html5应用</a>,则如下配置阅读相应格式文件:</p>
<pre><code>pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u
djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u
epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u</code></pre>
<p>长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。</p>
<p>如果用户配置中处理命令用到curl则需要安装<a href="../gnuplot">Termux</a>并在Termux中安装curl (&quot;apt install curl&quot;)。<br>
如果用户不安装Termux则上述配置命令中的&quot;am&quot;需要全部路径,需用&quot;/system/bin/am&quot;替换。</p>
<p>以上配置使用了微软服务预览office文档微软服务必需当前UA为PC否则会出现空白页面。有条件的用户建议使用google docs (&quot;http://docs.google.com/gview?embedded=true&amp;url=&quot;) 服务替换。</p>

View File

@ -23,28 +23,28 @@
</ul>
<p>下面列表中以&quot;/&quot;结尾者为目录,其余为文件。如果用户勾选“使用内部目录配置”,&quot;sitejs/&quot;,&quot;sitecache/&quot;等位于应用内部保护目录下。否则以下所有文件/目录均位于&quot;/sdcard/uweb&quot;<br>
&quot;css/&quot;:全局样式目录<br>
&quot;css/&quot;:<a href="../globalcss">全局样式目录</a><br>
&quot;js/&quot;: 全局脚本目录<br>
&quot;sitejs/&quot;:<a href="../sitejs">类油猴脚本,针对特定网址</a><br>
&quot;sitecss/&quot;:<a href="../sitejs">针对特定网址css样式</a><br>
&quot;bookmarklet/&quot;:js脚本目录<br>
&quot;offline/&quot;:<br>
&quot;offline/&quot;:离线下载目录<br>
&quot;sbookmark/&quot;:超级书签默认目录<br>
&quot;sitecache/&quot;:<a href="../offlinecache">用户供应网站离线数据</a><br>
&quot;longclick/&quot;:长按链接菜单(js)<br>
&quot;app[XXX]/&quot;:html5应用目录<br>
&quot;app[XXX]/&quot;:<a href="../html5">html5应用目录</a><br>
&quot;default.longclick&quot;:长按链接菜单<br>
&quot;default.uas&quot;:<a href="../searchurl/uas.html">浏览器标识</a><br>
&quot;default.urls&quot;:<a href="../searchurl/urls.html">特色服务</a><br>
&quot;default.acmd&quot;:<a href="../gnuplot">浏览器地址栏功能配置</a><br>
&quot;default.hosts&quot;:<a href="../adblock_hosts">广告屏蔽文件</a><br>
&quot;default.redirect&quot;:重定向配置<br>
&quot;default.redirect&quot;:<a href="../redirect">重定向配置</a><br>
&quot;default.select&quot;:<a href="../pccopy">长按“链接”按钮配置</a><br>
&quot;default.cmds&quot;:<a href="../searchurl/cmds.html">长按“历史”按钮配置</a><br>
&quot;default.link&quot;:长按“书签”按钮配置<br>
&quot;default.gesture&quot;:格式与文件<a href="../links">default.link</a>完全相同,定义地址栏下方手势操作<br>
&quot;default.link&quot;:<a href="../links">长按“书签”按钮配置</a><br>
&quot;<a href="gesture">default.gesture</a>&quot;:格式与文件<a href="../links">default.link</a>完全相同,定义地址栏下方手势操作<br>
&quot;default.button&quot;:格式与文件<a href="../links">default.link</a>完全相同,每行从最后一个按钮开始重定义单击功能。<br>
&quot;default.filecap&quot;:<br>
&quot;default.filecap&quot;:<a href="../filecap">文件特殊处理</a><br>
&quot;default.rjs&quot;:<a href="../rjs">远程及简单脚本</a><br>
&quot;default.engine&quot;:搜索引擎url列表(搜索词部分用%s代替),供自动顺序搜索使用。<br>
&quot;default.siteconf&quot;:网站独立设置<br>
@ -55,8 +55,8 @@
&quot;bookmark.html&quot;:主书签<br>
&quot;quickstart.html&quot;:<a href="../searchurl/quickstart.html">快速访问</a><br>
&quot;colors.txt&quot;:护眼背景色<br>
&quot;default.css&quot;:勾选网址特定样式后无匹配情形下的默认样式<br>
&quot;night.css&quot;:夜间模式,代替超微内部实现<br>
&quot;default.css&quot;:<a href="../sitejs">勾选网址特定样式后无匹配情形下的默认样式</a><br>
&quot;night.css&quot;:<a href="../globalcss">夜间模式</a>,代替超微内部实现<br>
&quot;types.sniff&quot;:嗅探类型<br>
&quot;sniff.log&quot;:嗅探结果<br>
&quot;history.log&quot;:访问历史<br>

View File

@ -23,6 +23,8 @@
</ul>
<p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;/sdcard/uweb/appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p>
<p><a href="../filecap">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>
<a target="_self" href="i:0g/sdcard/uweb/default.filecap:https://jamesfengcao.gitee.io/uweb/searchurl/txt/filecap.cfg">点击配置pdf.js,djvu.js,epub.js reader</a></p>
<p>比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。直接解压缩下载的pdf.js包至appXXX子目录下并在超微浏览器下访问如下url:<br>
file:///sdcard/uweb/appXXX....../web/viewer.html?file=[绝对或相对路径].pdf#page=[xxx]<br>
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。</p>

View File

@ -68,6 +68,18 @@
</a>
</li>
<li class="post">
<a href="filecap">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
</a>
</li>
<li class="post">
<a href="filenames">
<span>超微浏览器配置文件列表</span>
</a>
</li>
<li class="post">
<a href="links">
<span>常用链接</span>
@ -80,12 +92,6 @@
</a>
</li>
<li class="post">
<a href="filenames">
<span>超微浏览器配置文件列表</span>
</a>
</li>
<li class="post">
<a href="html5">
<span>html5应用</span>
@ -128,12 +134,6 @@
</a>
</li>
<li class="post">
<a href="filecap">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
</a>
</li>
<li class="post">
<a href="gnuplot">
<span>利用浏览器地址栏对函数作图</span>

140
index.xml
View File

@ -6,11 +6,80 @@
<description>Recent content on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 23 Aug 2020 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://jamesfengcao.gitee.io/uweb/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件
pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>https://jamesfengcao.gitee.io/uweb/filenames/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filenames/</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件。如果用户勾选“使用内部目录配置”,&amp;quot;sitejs/&amp;quot;,&amp;quot;sitecache/&amp;quot;等位于应用内部保护目录下。否则以下所有文件/目录均位于&amp;quot;/sdcard/uweb&amp;quot;
&amp;quot;css/&amp;quot;:全局样式目录
&amp;quot;js/&amp;quot;: 全局脚本目录
&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址
&amp;quot;sitecss/&amp;quot;:针对特定网址css样式
&amp;quot;bookmarklet/&amp;quot;:js脚本目录
&amp;quot;offline/&amp;quot;:离线下载目录
&amp;quot;sbookmark/&amp;quot;:超级书签默认目录
&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据
&amp;quot;longclick/&amp;quot;:长按链接菜单(js)
&amp;quot;app[XXX]/&amp;quot;:html5应用目录
&amp;quot;default.longclick&amp;quot;:长按链接菜单
&amp;quot;default.uas&amp;quot;:浏览器标识
&amp;quot;default.urls&amp;quot;:特色服务
&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置
&amp;quot;default.hosts&amp;quot;:广告屏蔽文件
&amp;quot;default.redirect&amp;quot;:重定向配置
&amp;quot;default.select&amp;quot;:长按“链接”按钮配置
&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置
&amp;quot;default.link&amp;quot;:长按“书签”按钮配置
&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作
&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。
&amp;quot;default.filecap&amp;quot;:文件特殊处理
&amp;quot;default.rjs&amp;quot;:远程及简单脚本
&amp;quot;default.engine&amp;quot;:搜索引擎url列表(搜索词部分用%s代替),供自动顺序搜索使用。
&amp;quot;default.siteconf&amp;quot;:网站独立设置
&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串
&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串
&amp;quot;home5.html&amp;quot;:自定义主屏
&amp;quot;home5.search&amp;quot;:主屏搜索引擎
&amp;quot;bookmark.html&amp;quot;:主书签
&amp;quot;quickstart.html&amp;quot;:快速访问
&amp;quot;colors.txt&amp;quot;:护眼背景色
&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式
&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现
&amp;quot;types.sniff&amp;quot;:嗅探类型
&amp;quot;sniff.log&amp;quot;:嗅探结果
&amp;quot;history.log&amp;quot;:访问历史
&amp;quot;query.log&amp;quot;:查询历史
应用内部保护目录(/data/data/info.torapp.uweb/files/):
&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;/sdcard/uweb/bookmark&amp;quot;目录。</description>
</item>
<item>
<title>常用链接</title>
<link>https://jamesfengcao.gitee.io/uweb/links/</link>
@ -42,55 +111,6 @@ noproxy::010:
如果网站并非视频类小网站,长按底部工具栏[☰]按钮,选取&amp;quot;禁用iframe&amp;quot;,此法可屏蔽大多数广告。更多可参看自定义样式屏蔽广告。 对非复杂交互非国内广告大厂网页而言(譬如云盘管理属复杂交互),特别是小说网站,可以长按设置,选取&amp;quot;屏蔽外链脚本&amp;quot;。(内在逻辑:小网站一般无力开发完整的广告系统,它们经常使用大厂的广告脚本。) 利用视频全屏播放屏蔽一切广告。 长按[☰]按钮可屏蔽浮动广告。 双正则表达式hosts文件绝杀广告。 针对特定网站的脚本样式屏蔽广告。 对非图片为主的网站可直接关闭图像。 对非交互性网站,可关闭[JS]脚本。 </description>
</item>
<item>
<title>超微浏览器配置文件列表</title>
<link>https://jamesfengcao.gitee.io/uweb/filenames/</link>
<pubDate>Sat, 22 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filenames/</guid>
<description>下面列表中以&amp;quot;/&amp;quot;结尾者为目录,其余为文件。如果用户勾选“使用内部目录配置”,&amp;quot;sitejs/&amp;quot;,&amp;quot;sitecache/&amp;quot;等位于应用内部保护目录下。否则以下所有文件/目录均位于&amp;quot;/sdcard/uweb&amp;quot;
&amp;quot;css/&amp;quot;:全局样式目录
&amp;quot;js/&amp;quot;: 全局脚本目录
&amp;quot;sitejs/&amp;quot;:类油猴脚本,针对特定网址
&amp;quot;sitecss/&amp;quot;:针对特定网址css样式
&amp;quot;bookmarklet/&amp;quot;:js脚本目录
&amp;quot;offline/&amp;quot;:
&amp;quot;sbookmark/&amp;quot;:超级书签默认目录
&amp;quot;sitecache/&amp;quot;:用户供应网站离线数据
&amp;quot;longclick/&amp;quot;:长按链接菜单(js)
&amp;quot;app[XXX]/&amp;quot;:html5应用目录
&amp;quot;default.longclick&amp;quot;:长按链接菜单
&amp;quot;default.uas&amp;quot;:浏览器标识
&amp;quot;default.urls&amp;quot;:特色服务
&amp;quot;default.acmd&amp;quot;:浏览器地址栏功能配置
&amp;quot;default.hosts&amp;quot;:广告屏蔽文件
&amp;quot;default.redirect&amp;quot;:重定向配置
&amp;quot;default.select&amp;quot;:长按“链接”按钮配置
&amp;quot;default.cmds&amp;quot;:长按“历史”按钮配置
&amp;quot;default.link&amp;quot;:长按“书签”按钮配置
&amp;quot;default.gesture&amp;quot;:格式与文件default.link完全相同定义地址栏下方手势操作
&amp;quot;default.button&amp;quot;:格式与文件default.link完全相同每行从最后一个按钮开始重定义单击功能。
&amp;quot;default.filecap&amp;quot;:
&amp;quot;default.rjs&amp;quot;:远程及简单脚本
&amp;quot;default.engine&amp;quot;:搜索引擎url列表(搜索词部分用%s代替),供自动顺序搜索使用。
&amp;quot;default.siteconf&amp;quot;:网站独立设置
&amp;quot;default.autoc&amp;quot;:地址栏autocomplete候选字符串
&amp;quot;query.autoc&amp;quot;:主屏搜索autocomplete候选字符串
&amp;quot;home5.html&amp;quot;:自定义主屏
&amp;quot;home5.search&amp;quot;:主屏搜索引擎
&amp;quot;bookmark.html&amp;quot;:主书签
&amp;quot;quickstart.html&amp;quot;:快速访问
&amp;quot;colors.txt&amp;quot;:护眼背景色
&amp;quot;default.css&amp;quot;:勾选网址特定样式后无匹配情形下的默认样式
&amp;quot;night.css&amp;quot;:夜间模式,代替超微内部实现
&amp;quot;types.sniff&amp;quot;:嗅探类型
&amp;quot;sniff.log&amp;quot;:嗅探结果
&amp;quot;history.log&amp;quot;:访问历史
&amp;quot;query.log&amp;quot;:查询历史
应用内部保护目录(/data/data/info.torapp.uweb/files/):
&amp;quot;shortcut/&amp;quot;:动态shortcut刷新目录若不存在则默认为&amp;quot;/sdcard/uweb/bookmark&amp;quot;目录。</description>
</item>
<item>
<title>html5应用</title>
<link>https://jamesfengcao.gitee.io/uweb/html5/</link>
@ -98,6 +118,8 @@ noproxy::010:
<guid>https://jamesfengcao.gitee.io/uweb/html5/</guid>
<description>超微配置目录下的子目录名如果以&amp;quot;app&amp;quot;开始(譬如&amp;quot;/sdcard/uweb/appPDF&amp;quot;),则这些&amp;quot;app&amp;quot;开头目录树下放置的html5应用将可获得功能增强。
配置default.filecap并打开选项“文件预处理”清后台重启浏览器后超微可直接阅读应用对应格式文件。
点击配置pdf.js,djvu.js,epub.js reader
比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。直接解压缩下载的pdf.js包至appXXX子目录下并在超微浏览器下访问如下url:
file:///sdcard/uweb/appXXX....../web/viewer.html?file=[绝对或相对路径].pdf#page=[xxx]
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。
@ -213,24 +235,6 @@ seedr的问题是首次登录需要google人机验证登录成功以后可以
现在直接上方案使用超微浏览器多账号登录。飞行1分钟以后成功登录seedr, 此时退出浏览器,千万不能强退,一定要让运存中的登录信息写到内部存储。然后用户可备份应用内部目录下的.cjar文件一旦浏览器失去登录状态可恢复此文件即可使用多账号登录重新登录让这1分钟飞行成果保存下来供万万年使用。需要注意的一点是用户退出seedr账号会使保存的文件作废。故千万不要退出账号需要用其它账号登录的请使用多账号登录。</description>
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; xls::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; ppt::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; docx::am start --user 0 -a android.</description>
</item>
<item>
<title>利用浏览器地址栏对函数作图</title>
<link>https://jamesfengcao.gitee.io/uweb/gnuplot/</link>

View File

@ -4,11 +4,11 @@ mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></au
m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
doc::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
xls::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
ppt::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
docx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
xlsx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
pptx::am start --user 0 -a android.intent.action.VIEW -d 'https://view.officeapps.live.com/op/view.aspx?src=%U'
doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
EOF

View File

@ -0,0 +1,3 @@
pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u
djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u
epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u

View File

@ -4,17 +4,37 @@
<url>
<loc>https://jamesfengcao.gitee.io/uweb/</loc>
<lastmod>2020-08-23T00:00:00+00:00</lastmod>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/_posts/</loc>
<lastmod>2020-08-23T00:00:00+00:00</lastmod>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/curl/</loc>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/</loc>
<lastmod>2020-08-23T00:00:00+00:00</lastmod>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/termux/</loc>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/filecap/</loc>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/filenames/</loc>
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
</url>
<url>
@ -32,11 +52,6 @@
<lastmod>2020-08-23T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/filenames/</loc>
<lastmod>2020-08-22T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/html5/</loc>
<lastmod>2020-08-20T00:00:00+00:00</lastmod>
@ -52,11 +67,6 @@
<lastmod>2018-01-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/termux/</loc>
<lastmod>2018-01-20T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/cmd/</loc>
<lastmod>2018-01-20T00:00:00+00:00</lastmod>
@ -79,10 +89,6 @@
<loc>https://jamesfengcao.gitee.io/uweb/globalcss/</loc>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/curl/</loc>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/tags/javascript/</loc>
</url>
@ -111,10 +117,6 @@
<loc>https://jamesfengcao.gitee.io/uweb/multiaccount/</loc>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/filecap/</loc>
</url>
<url>
<loc>https://jamesfengcao.gitee.io/uweb/gnuplot/</loc>
</url>

View File

@ -6,6 +6,7 @@
<description>Recent content in curl on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://jamesfengcao.gitee.io/uweb/tags/curl/index.xml" rel="self" type="application/rss+xml" />
@ -13,7 +14,7 @@
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
@ -25,7 +26,9 @@ mimetype表示命令处理后的输出内容格式。
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; xls::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; ppt::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; docx::am start --user 0 -a android.</description>
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件
pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
</channel>

View File

@ -6,11 +6,29 @@
<description>Recent content in Tags on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sun, 23 Aug 2020 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://jamesfengcao.gitee.io/uweb/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>curl</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/curl/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/tags/curl/</guid>
<description></description>
</item>
<item>
<title>termux</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/termux/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/tags/termux/</guid>
<description></description>
</item>
<item>
<title>广告屏蔽</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/%E5%B9%BF%E5%91%8A%E5%B1%8F%E8%94%BD/</link>
@ -29,15 +47,6 @@
<description></description>
</item>
<item>
<title>termux</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/termux/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/tags/termux/</guid>
<description></description>
</item>
<item>
<title>剪贴板</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/%E5%89%AA%E8%B4%B4%E6%9D%BF/</link>
@ -56,15 +65,6 @@
<description></description>
</item>
<item>
<title>curl</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/curl/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/tags/curl/</guid>
<description></description>
</item>
<item>
<title>javascript</title>
<link>https://jamesfengcao.gitee.io/uweb/tags/javascript/</link>

View File

@ -18,6 +18,12 @@
<h1 class="title">termux</h1>
<ul class="posts">
<li class="post">
<a href="https://jamesfengcao.gitee.io/uweb/filecap/">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
</a>
</li>
<li class="post">
<a href="https://jamesfengcao.gitee.io/uweb/cmd/">
<span>一键执行任意预定义命令附手机PC剪贴板互通</span>
@ -30,12 +36,6 @@
</a>
</li>
<li class="post">
<a href="https://jamesfengcao.gitee.io/uweb/filecap/">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
</a>
</li>
<li class="post">
<a href="https://jamesfengcao.gitee.io/uweb/gnuplot/">
<span>利用浏览器地址栏对函数作图</span>

View File

@ -6,11 +6,31 @@
<description>Recent content in termux on </description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sat, 20 Jan 2018 00:00:00 +0000</lastBuildDate>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://jamesfengcao.gitee.io/uweb/tags/termux/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xz:text/plain:curl %p &#34;%u&#34;|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件
pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///sdcard/uweb/app/djvu.html?url=%u epub:uweb:echo file:///sdcard/uweb/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<link>https://jamesfengcao.gitee.io/uweb/cmd/</link>
@ -58,24 +78,6 @@ mv BaiduPCS-Go /data/data/com.termux/files/usr/bin/. 配置/sdcard/uweb/default.
</description>
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<link>https://jamesfengcao.gitee.io/uweb/filecap/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://jamesfengcao.gitee.io/uweb/filecap/</guid>
<description>技巧等级:中级
文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下
[文件后缀]:[mimetype]:[处理命令]
其中文件后缀可允许最多两段后缀,譬如&amp;quot;txt.xz&amp;quot;,&amp;quot;html.gz&amp;quot;。
mimetype表示命令处理后的输出内容格式。
处理命令与default.cmds相同主要可能用到如下替换
%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置/sdcard/uweb/default.filecap如下
txt:text/html:curl %p &#34;%u&#34; mp3:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m4b:text/html:echo &#39;&amp;lt;audio controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/audio&#39; m3u8:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mp4:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; mkv:text/html:echo &#39;&amp;lt;video controls width=100% height=100%&amp;lt;source src=&#34;%u&#34;&amp;lt;/video&#39; doc::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; xls::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; ppt::am start --user 0 -a android.intent.action.VIEW -d &#39;https://view.officeapps.live.com/op/view.aspx?src=%U&#39; docx::am start --user 0 -a android.</description>
</item>
<item>
<title>利用浏览器地址栏对函数作图</title>
<link>https://jamesfengcao.gitee.io/uweb/gnuplot/</link>