From f5d2345718b35c4a06de4ab5211eefd3a9f8f01b Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 29 Jan 2023 19:19:15 +0800 Subject: [PATCH] README update --- README.md | 13 +++++++------ README.zh-Hans.md | 8 +++++--- README.zh.md | 8 +++++--- en/sitejs/index.html | 2 +- index.html | 11 +---------- 5 files changed, 19 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index a362707..2925817 100644 --- a/README.md +++ b/README.md @@ -8,23 +8,24 @@ (Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/en/) -[bitbucket](https://torappinfo.bitbucket.io/en/) +[stormkit](https://uweb.stormkit.dev/en/) +[surge](https://uweb.surge.sh/en/) +[codeberg](https://jamesfengcao.codeberg.page/en/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html) [pages](https://uwebzh.pages.dev/en/) [vercel](https://uweb-zh.vercel.app/en/) -[codeberg](https://jamesfengcao.codeberg.page/en/) -[stormkit](https://uweb.stormkit.dev/en/) -[surge](https://uweb.surge.sh/en/) +[bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uwebzh.onrender.com/en/) ) -- Powerful: any native functionality with html5 enhancement and still secure; any urls to host a website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. +- Powerful: any native functionality with html5 enhancement and still secure; any urls to host website; javascript and shell scripting for general processing; piping between console and GUI and more with Termux. - Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. - Convenient: Any book (pdf/djvu)/dictionary (mdict)/txt/command line/app/webapp (web extensions) can be search engine. - Tiny: less than 200k. -- Fast: run fast, even with thousands of user provided css/scripts. +- Fast: run fast, even with thousands of user provided css/scripts/htmls. - Efficient: less touches, one click to reach any number of search engines without repeated input. - URL bar command line support (better with hardware keyboard). +- user-defined JS/CSS/HTML/preprocessing for specified domains. #### Main features Custom paper size PDF export and long vector screenshot, 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.). diff --git a/README.zh-Hans.md b/README.zh-Hans.md index 996c980..8a60eef 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -10,19 +10,21 @@ [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) -[pages](https://uwebzh.pages.dev/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) +[pages](https://uwebzh.pages.dev/zh/) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb-zh.vercel.app/zh/)) - 微:不到200K。 -- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; html+js应用增强为本地应用。 +- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 - 快:手机越慢,脚本插件越多越明显。 -- 高效:最少的操作。 +- 高效:最少的操作,在线服务全自动(参看常用链接网页)。 - 极致优化: +- 地址栏支持命令行 ("!", 物理键盘支持更佳) +- 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 #### 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 diff --git a/README.zh.md b/README.zh.md index 996c980..8a60eef 100644 --- a/README.zh.md +++ b/README.zh.md @@ -10,19 +10,21 @@ [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) -[pages](https://uwebzh.pages.dev/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) +[pages](https://uwebzh.pages.dev/zh/) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb-zh.vercel.app/zh/)) - 微:不到200K。 -- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; html+js应用增强为本地应用。 +- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。 - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 - 快:手机越慢,脚本插件越多越明显。 -- 高效:最少的操作。 +- 高效:最少的操作,在线服务全自动(参看常用链接网页)。 - 极致优化: +- 地址栏支持命令行 ("!", 物理键盘支持更佳) +- 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 #### 软件功能 输出自定义页面大小PDF、矢量图长截屏、朗读、文本重排、嗅探、比价、翻译、视频解析、离线保存、阅读模式(推荐与脚本激活模式配合)、网址重定向至国内、多帐号切换、网盘离线下载、文件管理、webdav/http空间备份/恢复任何指定文件集、智能翻页、目录文件传送、网站独立设置(ua,禁用脚本,无图,激活脚本)、行编辑器、代码编辑器(支持120多种语言,语法高亮、错误提示、自动提示、直接运行测试、其它网页上直接测试)。通过安装html5应用可预览/阅读本地或在线任意格式文件(pdf,djvu,epub,mdx/mdd,docx等)。 diff --git a/en/sitejs/index.html b/en/sitejs/index.html index 0462c43..2085544 100644 --- a/en/sitejs/index.html +++ b/en/sitejs/index.html @@ -72,7 +72,7 @@
  • Under folder "siteextra".
  • Long press the button "settings", check the option "Apply user extra".
  • -

    The extra html could be placed before the site source html (uweb merges the extra html with the site source html intelligently). Ex. when the extra html ends with "<textarea>", the site source html appears as the value of the textarea element, thus the extra html can further process the the site source html before rendering. For sites with textarea elements, "<div><textarea>" could be used.

    +

    An open tag as the last tag in the last 50 bytes of the user extra html expects more content to follow, thus the extra html is placed before the site html. Ex. when the extra html ends with "<textarea>" or "<plaintext>", the site source html appears as the value of the textarea/plaintext element, thus the extra html can further process the the site source html before rendering. A self closed tag such as "<br>" acts like open tags, also makes the site source follow the extra html.

    "sitejs/.js", "sitecss/.css", "sitecss/.js" and "siteextra/.html" are applied to all non-http urls (file urls etc.).

    diff --git a/index.html b/index.html index 33185bf..db7d507 100644 --- a/index.html +++ b/index.html @@ -1,10 +1 @@ - - - - en/ - - - - - - +