mirror of
https://github.com/torappinfo/uweb.git
synced 2025-01-15 08:31:00 +01:00
rebuilding site Sat Jul 30 04:35:05 PM CST 2022
This commit is contained in:
parent
c6909f2fbb
commit
4087db750e
10
README.md
10
README.md
|
@ -7,17 +7,19 @@
|
|||
[pages](https://uwebzh.pages.dev/en)
|
||||
[stormkit](https://uweb.stormkit.dev/en)
|
||||
[surge](https://uweb.surge.sh/en/)
|
||||
[gitlab](https://jamesfengcao.gitlab.io/uweb/en)
|
||||
[render](https://uwebzh.onrender.com/en)
|
||||
)
|
||||
|
||||
- Tiny, less than 200k
|
||||
- Efficient: run fast and less touches
|
||||
- Powerful: supports user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
|
||||
- Tiny: less than 200k
|
||||
- Fast: run fast, more apparently with thousands of user provided css/scripts
|
||||
- Efficient: less touches, one click to reach any number of search engines without repeated input.
|
||||
- Customizable: user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
|
||||
- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more with uweb compatible Termux.
|
||||
|
||||
#### Main features
|
||||
TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & 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.).
|
||||
|
||||
- One click to reach any number of search engines without repeated input.
|
||||
- Resizable floating video support.
|
||||
- User-defined global and site-specific CSS and javascript.
|
||||
- Bookmarklets (with option to auto apply to similar sites)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
[pages](https://uwebzh.pages.dev/zh)
|
||||
[stormkit](https://uweb.stormkit.dev/en)
|
||||
[surge](https://uweb.surge.sh/en/)
|
||||
[gitlab](https://jamesfengcao.gitlab.io/uweb/zh)
|
||||
[github](https://torappinfo.github.io/uwebzh/zh))
|
||||
|
||||
- 微:不到200K。
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
<guid>/en/links/</guid>
|
||||
<description>Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):
|
||||
Wait for network msg
|
||||
Certificate info
|
||||
Web fullscreen
|
||||
Long pressing the bookmark button in uweb browser will popup menus defined in file &quot;default.link&quot;. The file format is as follows:
|
||||
|
@ -76,6 +77,22 @@ Toggle all checkboxes in forms
|
|||
Enable selection</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Commands</title>
|
||||
<link>/en/cmds/</link>
|
||||
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/cmds/</guid>
|
||||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||
Configuration file &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
VPN::am start -a android.net.vpn.SETTINGS
|
||||
wireless::am start -a android.settings.WIRELESS_SETTINGS
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
Clear logcat::logcat -c</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Text selection</title>
|
||||
<link>/en/pccopy/</link>
|
||||
|
|
|
@ -113,6 +113,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="cmds/index.html">
|
||||
<span>Commands</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="pccopy/index.html">
|
||||
<span>Text selection</span>
|
||||
|
|
17
en/index.xml
17
en/index.xml
|
@ -73,6 +73,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
|||
|
||||
<guid>/en/links/</guid>
|
||||
<description>Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):
|
||||
Wait for network msg
|
||||
Certificate info
|
||||
Web fullscreen
|
||||
Long pressing the bookmark button in uweb browser will popup menus defined in file &quot;default.link&quot;. The file format is as follows:
|
||||
|
@ -167,6 +168,22 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
|||
Clear logcat::logcat -c</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Commands</title>
|
||||
<link>/en/cmds/</link>
|
||||
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/cmds/</guid>
|
||||
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
|
||||
Configuration file &quot;default.cmds&quot; examples:
|
||||
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
VPN::am start -a android.net.vpn.SETTINGS
|
||||
wireless::am start -a android.settings.WIRELESS_SETTINGS
|
||||
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
Clear logcat::logcat -c</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Execute javascript codes</title>
|
||||
<link>/en/rjs/</link>
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
|
||||
</ul>
|
||||
<p>Clicking the following hypertext will install menus for long pressing the bookmark button (with star as icon):<br>
|
||||
<a href="i:0gdefault.link::Certificate info:i:1b%0A">Certificate info</a></p>
|
||||
<a href="i:0gdefault.link::Wait msg:i:1c%0A">Wait for network msg</a></p>
|
||||
<p><a href="i:0gdefault.link::Certificate info:i:1b%0A">Certificate info</a></p>
|
||||
<p><a href="i:0gdefault.link::web fullscreen: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A">Web fullscreen</a></p>
|
||||
<p>Long pressing the bookmark button in <a href="../index.html">uweb browser</a> will popup menus defined in file "default.link". The file format is as follows:<br>
|
||||
[Menu name]:[url][space][javascript code]</p>
|
||||
|
|
|
@ -173,6 +173,19 @@
|
|||
hreflang="en"
|
||||
href="/en/cmds/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/cmds/</loc>
|
||||
<lastmod>2022-06-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/cmds/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/cmds/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/rjs/</loc>
|
||||
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -94,6 +94,32 @@ Enables all form elements
|
|||
BugMeNot</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>配置浏览器常用命令</title>
|
||||
<link>/zh/cmds/</link>
|
||||
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/zh/cmds/</guid>
|
||||
<description>超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。
|
||||
打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等
|
||||
配置文件&quot;default.cmds&quot;示例:
|
||||
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
||||
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
||||
VPN::am start -a android.net.vpn.SETTINGS
|
||||
无线::am start -a android.settings.WIRELESS_SETTINGS
|
||||
合并查询历史至自动填充:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
清空logcat::logcat -c
|
||||
输出logcat.log::logcat -d &gt; logcat.log
|
||||
复制cookie:/clip:printf '%c'
|
||||
tgz install::toybox tar -xzf %f -C /
|
||||
以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
|
||||
发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
|
||||
发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||
发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Android TV</title>
|
||||
<link>/zh/androidtv/</link>
|
||||
|
|
|
@ -111,6 +111,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="cmds/index.html">
|
||||
<span>配置浏览器常用命令</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="androidtv/index.html">
|
||||
<span>Android TV</span>
|
||||
|
|
26
zh/index.xml
26
zh/index.xml
|
@ -268,6 +268,32 @@ VPN::am start -a android.net.vpn.SETTINGS
|
|||
输出logcat.log::logcat -d &gt; logcat.log
|
||||
复制cookie:/clip:printf '%c'
|
||||
tgz install::toybox tar -xzf %f -C /
|
||||
以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
|
||||
发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
|
||||
发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
|
||||
发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>配置浏览器常用命令</title>
|
||||
<link>/zh/cmds/</link>
|
||||
<pubDate>Wed, 01 Jun 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/zh/cmds/</guid>
|
||||
<description>超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。
|
||||
打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等
|
||||
配置文件&quot;default.cmds&quot;示例:
|
||||
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
|
||||
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
|
||||
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
|
||||
VPN::am start -a android.net.vpn.SETTINGS
|
||||
无线::am start -a android.settings.WIRELESS_SETTINGS
|
||||
合并查询历史至自动填充:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
|
||||
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
|
||||
清空logcat::logcat -c
|
||||
输出logcat.log::logcat -d &gt; logcat.log
|
||||
复制cookie:/clip:printf '%c'
|
||||
tgz install::toybox tar -xzf %f -C /
|
||||
下面配置需要root权限:
|
||||
解冻微信::su -c 'pm enable com.tencent.mm'
|
||||
冻结微信::su -c 'pm disable com.</description>
|
||||
|
|
|
@ -147,6 +147,19 @@
|
|||
hreflang="zh"
|
||||
href="/zh/cmds/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/cmds/</loc>
|
||||
<lastmod>2022-06-01T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/cmds/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/cmds/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/androidtv/</loc>
|
||||
<lastmod>2022-05-18T00:00:00+00:00</lastmod>
|
||||
|
|
Loading…
Reference in a new issue