diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index df9d55b..27a1447 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ### Uweb browser for android [中文](README.zh.md) -[Uweb browser: updates, plugins and tips](https://torappinfo.github.io/uwebzh/en/) +[Uweb browser: updates, plugins and tips](https://torappinfo.github.io/uweb/en/) (Mirrors: [vercel](https://uweb-zh.vercel.app/en/) [netlify](https://uwebzh.netlify.app/en/) [pages](https://uwebzh.pages.dev/en/) diff --git a/README.zh.md b/README.zh.md index 501ef41..03a8cda 100644 --- a/README.zh.md +++ b/README.zh.md @@ -7,7 +7,7 @@ [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) -[github](https://torappinfo.github.io/uwebzh/zh/)) +[github](https://torappinfo.github.io/uweb/zh/)) - 微:不到200K。 - 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; html+js应用增强为本地应用。 diff --git a/en/adblock/index.html b/en/adblock/index.html index c6b2bae..584f2fa 100644 --- a/en/adblock/index.html +++ b/en/adblock/index.html @@ -68,7 +68,7 @@
Long press the setting button, check the option "Block external scripts". UI website has option to also block dubious 3rd party resources. js.allow whitelists js libraries.
+Long press the setting button, check the option "Block external scripts". UI website has option to also block dubious 3rd party resources. js.allow whitelists js libraries.
Long press the button [☰], "Disable floating ADs", "Disable banners", "clear all timers", "stop events" and "Sleep ..." are also available.
diff --git a/en/cmds/index.html b/en/cmds/index.html index 1f46469..c2fa9c0 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -88,7 +88,7 @@ Clipboard2QR needs libqrencode.texme: Show local tex+markdown file
markdeep: Show local markdown+tex+diagrams file
remark slide: slide show for local markdown file
-Code editor, open url in clipboard etc.
+Code editor, open url in clipboard etc.
Each line has the following format:
[Name]:[mimetype]:[command line]
Uweb browser loads all ".css" files under the folder "css" as global css. Click the following links to install global css files:
- +The file "night.css" is used as night mode, click the following links to install one:
-webview 81+ night mode
-webview 80- night mode
This page is for uweb browser.
Click to install the following html5 apps:
-Huge markdown file viewer
-Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
-plyr video player
-dplayer video player
-pdf viewer
-epub reader (author:llili)
-djvu viewer
The corresponding menu can be installed with url services.
The following mentioned subfolders locate in the configuration folder.
@@ -65,7 +65,7 @@Click to configure default.filecap to open local files, and to open remote files with the option "custom file handling":
-use pdf.js,djvu.js,epub.js, huge markdown viewer for local files
url examples are as follows:
checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).
+checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).
default.select sample file:
copy2addressbar:uweb:printf i:15;cat
copy2PCClipboard::ssh [user:password]@192.168.2.102 "DISPLAY=:0 xsel -i"
diff --git a/en/rjs/index.html b/en/rjs/index.html
index 9665680..27754e5 100644
--- a/en/rjs/index.html
+++ b/en/rjs/index.html
@@ -49,7 +49,7 @@
javascript for domains
Global javascript files locates in the subfolder "js" of app private folder. Long press button [☰] to configure. Click the following links to install:
-<a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/passwdsave.js">Save password
+<a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/passwdsave.js">Save password
Instant page
large size javascript code can be installed to the folder "bookmarklet" (long pressing button "js" to popup menu):
Eruda
diff --git a/en/sitemap/index.html b/en/sitemap/index.html
index 9dc79ea..6f63e99 100644
--- a/en/sitemap/index.html
+++ b/en/sitemap/index.html
@@ -50,7 +50,7 @@
长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow。
+长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单js.allow。
长按[☰]按钮可隐藏浮动信息,移除横幅,清空定时器(防止定时触发不良信息),中断可疑事件(防止用户操作触发),等待(防止延迟触发)。
diff --git a/zh/adblock_domain/index.html b/zh/adblock_domain/index.html index 3ca173b..ffebb76 100644 --- a/zh/adblock_domain/index.html +++ b/zh/adblock_domain/index.html @@ -77,7 +77,7 @@ 如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
-"小说.html": 自动使用阅读模式
href="i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)
+"小说.html": 自动使用阅读模式 +href="i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html">"txt.html": 在线阅读下载直链(txt/html)
所有书签都可通过"长按链接->命令->书签"保存链接为书签。书签菜单可至特色服务网页安装。
Mirror list
mirror.js.org
以下书签需"长按以下链接->新窗口打开"才能在此网页正常执行。
需安装定制版termux及相应工具,
diff --git a/zh/cmds/index.html b/zh/cmds/index.html
index 41a233f..1b7f858 100644
--- a/zh/cmds/index.html
+++ b/zh/cmds/index.html
@@ -48,7 +48,7 @@
超微浏览器下点击配置链接可自动添加常用命令,强制清空后台重启后长按历史按钮可用。
-打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等
+打开剪贴板内链接、代码编辑器、淘宝比价 (淘宝app内分享复制链接后在超微内直接执行此命令)、本地markdown显示(支持数学公式、各类图表)等
配置文件"default.cmds"示例:
清空浏览数据::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
diff --git a/zh/filemanager/index.html b/zh/filemanager/index.html index 55048e8..1bf791b 100644 --- a/zh/filemanager/index.html +++ b/zh/filemanager/index.html @@ -44,7 +44,7 @@超微浏览器访问以"/"结尾 (包括"/?"及后面参数)的"file://" url,则进入文件管理器。
-对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并安装checked.js对选取文件进行批量处理。
+对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][*[文件后缀]]"。譬如"file:///sdcard/?*.png"会列举出"/sdcard"目录下所有.png文件。"?IMG"列举出所有IMG开头的文件。此时可选定文件,并安装checked.js对选取文件进行批量处理。
文件批量处理配置default.select例子:
图像缩小:checked.js:while read fname;do convert -resize %50x%50 $fname small_$fname; done
超微浏览器自动装载"css"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:
- +文件"night.css"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:
-webview 81+ 夜间模式
-webview 80- 夜间模式
mdict字典搜索引擎:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
字典文件必须位于配置目录应用子目录"app"下。上述字典搜索引擎例子中文件"xxx.mdx"及"xxx.mdd"位于".../app/mdict"下。
-点击安装超大文件阅读器(支持txt, html, markdown)
-点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
-点击安装plyr视频播放器
-点击安装dplayer视频播放器
-点击安装pdf阅读器
-点击安装epub阅读器(作者:llili)
-点击安装djvu阅读器
+
点击安装超大文件阅读器(支持txt, html, markdown)
+点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
+点击安装plyr视频播放器
+点击安装dplayer视频播放器
+点击安装pdf阅读器
+点击安装epub阅读器(作者:llili)
+点击安装djvu阅读器
相应的菜单安装可见浏览器特色服务
超微配置目录下的子目录名如果以"app"开始(譬如"appPDF"),则这些"app"开头目录树下放置的html5应用将可获得功能增强。
配置default.filecap并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。
-点击配置pdf.js,djvu.js,epub.js,超大文件阅读器
超大文件阅读器txtview.html url如下:
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]
diff --git a/zh/index.xml b/zh/index.xml
index 419acb7..0fb8dfb 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -298,7 +298,7 @@ Android TV可利用顺序搜索使用箭头按钮切换频道。顺序搜索引
迅雷盘离线
点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等
-点击安装离线下载(pcloud,furk,微云等)
点击安装Cookie延期,地址栏内删除特殊字符,站内搜索,seedr离线下载等
+点击安装离线下载(pcloud,furk,微云等)
uweb浏览器中长按书签按钮可弹出常用链接菜单,这些链接定义在文件"default.link"中,改动过的文件清后台重启动后生效。每行格式如下:
[菜单名]:[url][空格][javascript脚本]
diff --git a/zh/pccopy/index.html b/zh/pccopy/index.html
index 7e7ee64..d9e7a1a 100644
--- a/zh/pccopy/index.html
+++ b/zh/pccopy/index.html
@@ -67,7 +67,7 @@
搜狗翻译
重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。
配置文件"default.select"定义了超微浏览器对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:
[菜单名]:[mimetype]:[命令行]
配置default.select如下:
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)>>notes.txt
diff --git a/zh/redirect/index.html b/zh/redirect/index.html
index fdb66ff..cdab2f3 100644
--- a/zh/redirect/index.html
+++ b/zh/redirect/index.html
@@ -50,7 +50,7 @@
github mirror:fastgit
github mirror 2
github mirror 3
使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。
其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。
本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。
diff --git a/zh/rjs/index.html b/zh/rjs/index.html index cca4765..8192e53 100644 --- a/zh/rjs/index.html +++ b/zh/rjs/index.html @@ -50,14 +50,14 @@全局脚本位于js子目录, 长按[☰]按钮配置。点击以下链
接安装:
-<a target=_self" href="i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js">记住密码
+<a target=_self" href="i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/passwdsave.js">记住密码
极速网页
大型脚本可安装到"bookmarklet"目录下(长按js按钮):
google翻译
远程脚本配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):
彩云小译:['https://caiyunapp.com/dest/trs.js']
@@ -68,7 +68,7 @@站内搜索:;open('i:15site:' + location.hostname)
远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
-点击安装google翻译、背景图等
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算):
[远程脚本名]:[返回url数组的javascript代码]
其中url可以为本地html5应用脚本地址。譬如'https://localapp[XXX]/....../[XXX].js'。此时,js脚本也可使用.link文件方式调用。
diff --git a/zh/searchcat/index.html b/zh/searchcat/index.html index 5bf1e4f..486226a 100644 --- a/zh/searchcat/index.html +++ b/zh/searchcat/index.html @@ -45,7 +45,7 @@点击本链接自动安装分类多引擎文件至"bookmark"目录下。
+点击本链接自动安装分类多引擎文件至"bookmark"目录下。
超微浏览器中通过“设置”->“总目录”->“↑”->“Download”,点击后缀为.search的下载文件,超微浏览器将自动显示分类多引擎搜索。此时可按菜单键(或长按底部工具条后退按钮)选择“添加到桌面”方便以后访问。
.search文件每行格式为如下几种:
[搜索引擎名]:[不含%s的url]
diff --git a/zh/searchurl/txt/cmds.cfg b/zh/searchurl/txt/cmds.cfg
index e845bf0..f8c4710 100644
--- a/zh/searchurl/txt/cmds.cfg
+++ b/zh/searchurl/txt/cmds.cfg
@@ -1,6 +1,6 @@
打开剪贴板链接:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+'
行编辑器:text/html:cat %f|while read LINE; do echo "$LINE
";done
-代码编辑器:text/html:printf "