mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
enhance crontab support
This commit is contained in:
parent
63eee8ebb5
commit
8e42c8b7ac
9 changed files with 85 additions and 48 deletions
|
@ -113,7 +113,7 @@ $ am broadcast -n info.torapp.uweb/.AlarmReceiver -e uweb.line [link]</p>
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 28 October 2023<br>
|
||||
fix en/cmds<br>
|
||||
fix hugo config.toml<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.112.3">
|
||||
<meta name="generator" content="Hugo 0.119.0">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
|
@ -94,6 +94,18 @@
|
|||
</li>
|
||||
|
||||
|
||||
<li class="post">
|
||||
<a href="links/index.html">
|
||||
<span>Links</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="tcron/index.html">
|
||||
<span>cron</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="offlinecache/index.html">
|
||||
<span>Offline resources</span>
|
||||
|
@ -106,12 +118,6 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="links/index.html">
|
||||
<span>Links</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="adblock_domain/index.html">
|
||||
<span>Hosts files</span>
|
||||
|
|
62
en/index.xml
62
en/index.xml
|
@ -6,7 +6,41 @@
|
|||
<description>Recent content on uweb browser: unlimited power</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language>
|
||||
<lastBuildDate>Tue, 11 Apr 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Sat, 28 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Links</title>
|
||||
<link>/en/links/</link>
|
||||
<pubDate>Sat, 28 Oct 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/links/</guid>
|
||||
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
||||
Capture long screenshot (need long screenshot mode)
|
||||
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
|
||||
Extend site cookies to 10 years
|
||||
Clear site cookies
|
||||
VPN
|
||||
Switch configuration
|
||||
Wait for network msg
|
||||
Certificate info
|
||||
Backup to box.com
|
||||
Restore from box.com
|
||||
upload to box.com
|
||||
More webdav link menu items
|
||||
Web fullscreen
|
||||
Long pressing the bookmark button in uweb browser will popup menus defined in file &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>cron</title>
|
||||
<link>/en/tcron/</link>
|
||||
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tcron/</guid>
|
||||
<description>crontab (with enhanced semantics) For performance, the file &quot;crontab&quot; uses single space as field separator. Letters are not suppored currently. So use &quot;1&quot; for &quot;January&quot; and 2 for &quot;Tuesday&quot; etc.
|
||||
The sixth field in crontab file could be in the format of internal links. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly.
|
||||
To make crontab more powerful, we changed the semantics as follows:</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Offline resources</title>
|
||||
<link>/en/offlinecache/</link>
|
||||
|
@ -32,29 +66,6 @@ Global redirection Global redirection is enabled with the setting option &qu
|
|||
When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Links</title>
|
||||
<link>/en/links/</link>
|
||||
<pubDate>Tue, 21 Mar 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/links/</guid>
|
||||
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
|
||||
Capture long screenshot (need long screenshot mode)
|
||||
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
|
||||
Extend site cookies to 10 years
|
||||
Clear site cookies
|
||||
VPN
|
||||
Switch configuration
|
||||
Wait for network msg
|
||||
Certificate info
|
||||
Backup to box.com
|
||||
Restore from box.com
|
||||
upload to box.com
|
||||
More webdav link menu items
|
||||
Web fullscreen
|
||||
Long pressing the bookmark button in uweb browser will popup menus defined in file &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Hosts files</title>
|
||||
<link>/en/adblock_domain/</link>
|
||||
|
@ -212,7 +223,8 @@ sourceforge
|
|||
powerfolder
|
||||
udrop
|
||||
pagure
|
||||
Main features Change logs 1008: Add long screenshot mode
|
||||
Main features Change logs 1017: crontab supports links as sixth field.
|
||||
1008: Add long screenshot mode
|
||||
1006: Advanced configuration: auto reload, add download path
|
||||
1004: bookmarklet &quot;Show as html&quot; to support clipboard sites such as &quot;netcut.cn&quot;.
|
||||
998: Bookmarklets to support CSP sites.
|
||||
|
|
|
@ -312,7 +312,7 @@ Bundle of internal urls, if it is an "i:0" url, then it should have th
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 28 October 2023<br>
|
||||
finalize latest.html<br>
|
||||
fix hugo config.toml<br>
|
||||
<pre>i:56 urls support CTRL_A to CTRL-Z
|
||||
</pre>
|
||||
</p>
|
||||
|
|
|
@ -27,6 +27,19 @@
|
|||
hreflang="en"
|
||||
href="/en/links/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-10-28T19:18:26+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tcron/</loc>
|
||||
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
|
||||
|
|
11
index.html
11
index.html
|
@ -1,10 +1 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>en/</title>
|
||||
<link rel="canonical" href="en/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=en/">
|
||||
</head>
|
||||
</html>
|
||||
<meta http-equiv="refresh" content="0; url=en/index.html">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.112.3">
|
||||
<meta name="generator" content="Hugo 0.119.0">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="../style.css" type="text/css" />
|
||||
|
|
|
@ -108,9 +108,9 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth
|
|||
|
||||
<guid>/zh/tips/</guid>
|
||||
<description>免魔法国内直接使用系列
|
||||
newbing/chatgpt/必应写作/AI画图
|
||||
使用重定向访问国外技术网址
|
||||
google翻译
|
||||
newbing/chatgpt/必应写作/AI画图
|
||||
目录配置及使用外部文件管理器
|
||||
超微浏览器可以将配置目录或子目录符号链接至任意外部公共目录。安装有定制termux的用户也可以使用移动设备自带或第三方文件管理器管理超微内部指定目录。具体配置可见Shell command mode。
|
||||
准确显示PC网页:
|
||||
|
@ -127,7 +127,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA
|
|||
在浏览器文件管理器中长按文件名,弹出菜单中选择分享,系统会优先弹出相应的文件编辑器。
|
||||
配置文件列表中直接点击文件名即可编辑。
|
||||
免魔法直接使用newbing/chatgpt/必应写作/AI画图 总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com,帐号已经开通newbing。
|
||||
方法1:
|
||||
方法1(不再维护):
|
||||
点击一键安装必应AI
|
||||
或者分步安装:
|
||||
安装界面html, bingChat &amp; Write自带魔法直接界面
|
||||
|
@ -448,8 +448,9 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引
|
|||
|
||||
<guid>/zh/bookmark/</guid>
|
||||
<description>所有书签都可通过&quot;长按链接-&gt;命令-&gt;书签&quot;保存链接为书签。书签菜单可至特色服务网页安装。
|
||||
web
|
||||
AI/chatGPT:
|
||||
bingChat carrot ainav 网络剪贴板
|
||||
carrot ainav 网络剪贴板
|
||||
txtpad
|
||||
cmd.im
|
||||
Wait for url from other devices
|
||||
|
@ -608,6 +609,7 @@ webview 80- 夜间模式</description>
|
|||
&quot;default.filecap&quot;:文件特殊处理
|
||||
&quot;default.rc&quot;:如果勾选“文件预处理”,则uweb启动时运行此shell脚本。可与tcron配合运行定时任务,如存储清理、网页签到等。
|
||||
&quot;default.rc2&quot;:如果勾选“文件预处理”,则uweb返回前台时运行此shell脚本。
|
||||
&quot;crontab&quot;:
|
||||
&quot;engine.search&quot;:格式同home5.search,搜索引擎url仅支持%s语法。(搜索词部分用%s代替),供自动顺序搜索使用。
|
||||
&quot;default.siteconf&quot;:网站独立设置,保存ua、禁用js、无图、禁用第三方(js,可疑资源)、当前激活脚本、全局脚本。当前设置与默认不同才会保存。比如当前不屏蔽第三方js,但屏蔽第三方可疑资源,则屏蔽第三方设置与默认不同,站点设置被保存。
|
||||
&quot;default.playrate&quot;:全屏播放菜单项,格式与文件default.link完全相同。倍速播放菜单链接部分为空,譬如&quot;.5x:&quot;,倍速菜单至少有一个。链接部分非空的菜单必须在所有倍速菜单之后。
|
||||
|
|
|
@ -27,6 +27,19 @@
|
|||
hreflang="zh"
|
||||
href="/zh/tags/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/</loc>
|
||||
<lastmod>2023-10-25T13:06:41+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/%E5%9B%BD%E5%A4%96%E7%BD%91%E5%9D%80/</loc>
|
||||
<lastmod>2023-06-17T07:56:09+08:00</lastmod>
|
||||
|
|
Loading…
Reference in a new issue