From a93ccd08d34b8982e89140e683cf795dad91f2e1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 11 Aug 2022 19:14:34 +0800 Subject: [PATCH] rebuilding site Thu Aug 11 07:14:34 PM CST 2022 --- LICENSE | 0 README.md | 2 +- README.zh.md | 2 +- en/adblock/index.html | 2 +- en/cmds/index.html | 2 +- en/globalcss/index.html | 6 +++--- en/html5/index.html | 16 ++++++++-------- en/index.xml | 2 +- en/pccopy/index.html | 2 +- en/rjs/index.html | 2 +- en/sitemap/index.html | 2 +- en/termux/index.html | 4 ++-- en/topposts/index.xml | 2 +- zh/_posts/index.xml | 2 +- zh/adblock/index.html | 2 +- zh/adblock_domain/index.html | 2 +- zh/bookmark/index.html | 6 +++--- zh/cmds/index.html | 2 +- zh/filemanager/index.html | 2 +- zh/globalcss/index.html | 8 ++++---- zh/html5/index.html | 16 ++++++++-------- zh/index.xml | 4 ++-- zh/links/index.html | 4 ++-- zh/pccopy/index.html | 4 ++-- zh/redirect/index.html | 2 +- zh/rjs/index.html | 6 +++--- zh/searchcat/index.html | 2 +- zh/searchurl/txt/cmds.cfg | 2 +- zh/searchurl/txt/pdfviewer.html | 2 +- zh/sitemap/index.html | 2 +- zh/tcron/index.html | 2 +- zh/tools/index.html | 2 +- zh/topposts/index.xml | 2 +- zh/video/index.html | 2 +- 34 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 LICENSE 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.

    ".cmds" file format

    Each line has the following format:
    [Name]:[mimetype]:[command line]

    diff --git a/en/globalcss/index.html b/en/globalcss/index.html index 9e3741d..5f8fdb7 100644 --- a/en/globalcss/index.html +++ b/en/globalcss/index.html @@ -48,10 +48,10 @@

    Uweb browser loads all ".css" files under the folder "css" as global css. Click the following links to install global css files:

    -

    Clearing font settings

    +

    Clearing font settings

    The file "night.css" is used as night mode, click the following links to install one:
    -webview 81+ night mode
    -webview 80- night mode

    +webview 81+ night mode
    +webview 80- night mode

    diff --git a/en/html5/index.html b/en/html5/index.html index bcd936b..20551b3 100644 --- a/en/html5/index.html +++ b/en/html5/index.html @@ -50,13 +50,13 @@

    This page is for uweb browser.

    Html5 applications

    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

    +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.

    Features

    The following mentioned subfolders locate in the configuration folder.

    @@ -65,7 +65,7 @@
  • All files under the subfolder "app" can be automatically choosed as file objects by any web page.
  • 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

    +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 @@

    UI

    Customization

  • -

    长按设置,选取"拦截外链脚本"。可在界面配置及杂项网页额外拦截第三方可疑资源。可配置白名单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 @@ 如果用到了第二个正则表达式,此时将域名前缀表达式合并到第二个正则表达式中,从而仅使用一个表达式可优化性能。

  • -

    点击本链接自动用样例覆盖default.hosts

    +

    点击本链接自动用样例覆盖default.hosts

    diff --git a/zh/bookmark/index.html b/zh/bookmark/index.html index ade913d..7a689af 100644 --- a/zh/bookmark/index.html +++ b/zh/bookmark/index.html @@ -45,12 +45,12 @@

    gamezop

    点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。
    -"小说.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命令书签

    需安装定制版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

    diff --git a/zh/globalcss/index.html b/zh/globalcss/index.html index 6fbd405..b435017 100644 --- a/zh/globalcss/index.html +++ b/zh/globalcss/index.html @@ -48,11 +48,11 @@

    超微浏览器自动装载"css"目录下所有.css文件作为全局样式供用户选用。点击以下配置链接可自动添加为全局样式:

    -

    强制使用默认字体
    -配合透明状态栏(沉浸)

    +

    强制使用默认字体
    +配合透明状态栏(沉浸)

    文件"night.css"为用户自定义夜间模式样式,点击以下配置链接安装不同的夜间模式:
    -webview 81+ 夜间模式
    -webview 80- 夜间模式

    +webview 81+ 夜间模式
    +webview 80- 夜间模式

    diff --git a/zh/html5/index.html b/zh/html5/index.html index 9c8960d..fa7cd0c 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -50,17 +50,17 @@

    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,超大文件阅读器

    +点击配置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可利用顺序搜索使用箭头按钮切换频道。顺序搜索引 gamezop 点击以下链接可安装模板至分类书签目录。保存至“小说”类别的网站会自动使用阅读模式。 &quot;小说.html&quot;: 自动使用阅读模式 -href=&quot;i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html) +href=&quot;i:0hbookmark/txt.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/viewtxt.html&quot;&gt;&quot;txt.html&quot;: 在线阅读下载直链(txt/html) 所有书签都可通过&quot;长按链接-&gt;命令-&gt;书签&quot;保存链接为书签。书签菜单可至特色服务网页安装。 Mirror list mirror.js.org @@ -381,7 +381,7 @@ c[cssFlag]: For example, &quot;c12&quot; will apply the third and fourth 特定网址用户脚本 全局脚本位于js子目录, 长按[☰]按钮配置。点击以下链 接安装: -&lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js&quot;&gt;记住密码 +&lt;a target=_self&quot; href=&quot;i:0hjs/记住密码.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/passwdsave.js&quot;&gt;记住密码 极速网页 大型脚本可安装到&quot;bookmarklet&quot;目录下(长按js按钮): google翻译 diff --git a/zh/links/index.html b/zh/links/index.html index 6e62973..ffa846c 100644 --- a/zh/links/index.html +++ b/zh/links/index.html @@ -51,8 +51,8 @@ 显示网站安全证书
    迅雷盘离线

    网页全屏

    -

    点击安装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 @@ 搜狗翻译

    彩云小译
    deepL

    -

    点击安装"保存文本"等

    +

    点击安装"保存文本"等

    重启浏览器,长按“链接”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。

    配置文件"default.select"定义了超微浏览器对选中(富)文本/元素进行的操作。没有任何选中元素则以整个网页为操作对象。每行格式如下:
    [菜单名]:[mimetype]:[命令行]

    @@ -76,7 +76,7 @@ mimetype用来表示命令的输入输出类型。格式为"[输入mimetype html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
    /uweb: 选中文本为txt格式, 输出mimetype为特殊扩充uweb,超微将把输出作为链接来处理。
    /termux: 命令运行结果将作为termux下命令运行。
    -checked.js: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][[文件后缀]]"。譬如"file:///sdcard/?.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)

    +checked.js: 运行配置目录下checked.js,其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url,后面可附"?[文件前缀][[文件后缀]]"。譬如"file:///sdcard/?.png"会列举出"/sdcard"目录下所有.png文件。此时选择选定文件,则可利用checked.js复制文件至PC。(参看下面具体配置)

    配置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

    -

    点击添加google recaptcha国内镜像

    +

    点击添加google recaptcha国内镜像

    使用服务器在国外的搜索引擎体验往往不如国内的引擎。由于网站屏蔽的原因,两者之间索引权重差别很大。国外受欢迎的技术类网站因此难以在百度上搜到;国外引擎能搜到但由于其中不少结果无法访问而体验糟糕。

    其实,很多技术类网站在国内早有镜像,但由于镜像并非众所周知,其索引权重在百度上微不足道,非专门搜索不可得。

    本文介绍一种技术,可重定向国外网址至国内镜像,极大的提高国外引擎的体验,让更多用户更客观的理解全球技术。

    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翻译

    Eruda
    彩云小译
    Performance
    -移除覆盖物

    +移除覆盖物

    远程脚本配置文件default.rjs样列如下,点击以下链接自动安装 (清空后台重启浏览器,长按搜索按钮,则弹出远程脚本菜单):

    彩云小译:['https://caiyunapp.com/dest/trs.js']

    Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);

    @@ -68,7 +68,7 @@

    站内搜索:;open('i:15site:' + location.hostname)

    编辑器拼写检查:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v

    远程及小型脚本可安装到default.rjs文件中。远程脚本对CSP网站仍然有效。:
    -点击安装google翻译、背景图等

    +点击安装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 "

    Run