From 0d1241bec5e35a9d21656e8dc13e8457dfe78931 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Fri, 3 Feb 2023 17:06:25 +0800 Subject: [PATCH] multiple links support for single menu/(new)button/gesture definition --- README.md | 3 ++- README.zh-Hans.md | 2 +- en/_posts/index.xml | 3 +-- en/changelog/index.html | 3 ++- en/index.xml | 9 ++++----- en/links/index.html | 4 +++- en/readme/index.html | 3 ++- en/topposts/index.xml | 6 +++--- zh/index.xml | 2 +- zh/readme/index.html | 2 +- zh/unlist/index.xml | 2 +- 11 files changed, 21 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4a83463..329e74b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ - 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; automate online services. - URL bar command line support ("!" and .js file as command). -- user-defined site-specific JS/CSS/HTML/preprocessing. +- Site-specific JS/CSS/HTML/preprocessing. +- Online play/preview/preprocess for downloadable resources. #### 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 a3ba285..eb2f2a5 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -12,7 +12,7 @@ - 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。 - 快:手机越慢,脚本插件越多越明显。 - 高效:最少的操作,在线服务全自动(参看常用链接网页)。 -- 极致优化: +- 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。 - 地址栏支持命令行 ("!", 物理键盘支持更佳) - 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理 diff --git a/en/_posts/index.xml b/en/_posts/index.xml index b086661..67f2560 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -119,8 +119,7 @@ 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 "default.link". The file format is as follows: -[Menu name]:[url][space][javascript code] -in which space and later parts are optional. +[Menu name]:[one or more links delimited by " \n "] diff --git a/en/changelog/index.html b/en/changelog/index.html index 56e18c9..9aa440f 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,7 +51,8 @@

pagure

Main features

Change logs

-

964: site source html preprocessing before rendering with user site extra html.
+

968: multiple links support for single MENU/(New)Button/GESTURE definition.
+964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with "i:0u" links.
956: Search engines (.search file) to apply same folder "home.css". Use POST type search engine as bookmark for auto login.
955: Address bar: ":!" or "!" for command line support (.js/.sh files as executables).
diff --git a/en/index.xml b/en/index.xml index aef132c..2a78a1f 100644 --- a/en/index.xml +++ b/en/index.xml @@ -94,11 +94,11 @@ github sourceforge powerfolder pagure -Main features Change logs 964: site source html preprocessing before rendering with user site extra html. +Main features Change logs 968: multiple links support for single MENU/(New)Button/GESTURE definition. +964: site source html preprocessing before rendering with user site extra html. 961: webdav/http file upload support with "i:0u" links. 956: Search engines (.search file) to apply same folder "home.css". Use POST type search engine as bookmark for auto login. -955: Address bar: ":!" or "!" for command line support (.js/.sh files as executables). -949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size +955: Address bar: ":!" or "!" for command line support (. @@ -184,8 +184,7 @@ 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 "default.link". The file format is as follows: -[Menu name]:[url][space][javascript code] -in which space and later parts are optional. +[Menu name]:[one or more links delimited by " \n "] diff --git a/en/links/index.html b/en/links/index.html index 82fe2f4..9e0ff41 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -57,7 +57,9 @@

More webdav link menu items

Web fullscreen

Long pressing the bookmark button in uweb browser will popup menus defined in file "default.link". The file format is as follows:
-[Menu name]:[url][space][javascript code]

+[Menu name]:[one or more links delimited by " \n "]

+

and each link has the following format:
+[url][space][javascript code]

in which space and later parts are optional. url and later parts support "%u","%s" etc.. The javascript code will be executed after url is fully loaded.

url supports all standard scheme (http(s):,javascript: etc.) and uweb internal schemes ( ':' as second character in the url ) and special links that begins with ':'.

uweb browser will handle local file urls (file:///) specially for some file types:

diff --git a/en/readme/index.html b/en/readme/index.html index 761eb83..005d7e5 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -61,7 +61,8 @@
  • 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; automate online services.
  • URL bar command line support ("!" and .js file as command).
  • -
  • user-defined site-specific JS/CSS/HTML/preprocessing.
  • +
  • Site-specific JS/CSS/HTML/preprocessing.
  • +
  • Online play/preview/preprocess for downloadable resources.
  • 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/en/topposts/index.xml b/en/topposts/index.xml index 0fa0ace..ccba2e2 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -18,11 +18,11 @@ github sourceforge powerfolder pagure -Main features Change logs 964: site source html preprocessing before rendering with user site extra html. +Main features Change logs 968: multiple links support for single MENU/(New)Button/GESTURE definition. +964: site source html preprocessing before rendering with user site extra html. 961: webdav/http file upload support with "i:0u" links. 956: Search engines (.search file) to apply same folder "home.css". Use POST type search engine as bookmark for auto login. -955: Address bar: ":!" or "!" for command line support (.js/.sh files as executables). -949: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size +955: Address bar: ":!" or "!" for command line support (.
    diff --git a/zh/index.xml b/zh/index.xml index 5fa2866..c0356ad 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -863,7 +863,7 @@ Amazon appstore Downloads 超微浏览器下载及使用技巧 (Mirrors: gitlab repo codeberg netlify stormkit surge github pages bitbucket vercel) -微:不到200K。 威:支持使用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等)。 +微:不到200K。 威:支持使用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等)。 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 独创脚本激活模式,脚本执行后被激活,此后自动作用于同类网址。 diff --git a/zh/readme/index.html b/zh/readme/index.html index 7d25f9e..748801e 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -59,7 +59,7 @@
  • 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
  • 快:手机越慢,脚本插件越多越明显。
  • 高效:最少的操作,在线服务全自动(参看常用链接网页)。
  • -
  • 极致优化:
  • +
  • 极致优化:最少存储写操作,比如浏览器转到后台前配置变化如恢复成原样则无写操作。
  • 地址栏支持命令行 ("!", 物理键盘支持更佳)
  • 指定域名: 用户定义JS/CSS/HTML/显示前源码预处理
  • diff --git a/zh/unlist/index.xml b/zh/unlist/index.xml index daefffb..76f446b 100644 --- a/zh/unlist/index.xml +++ b/zh/unlist/index.xml @@ -16,7 +16,7 @@ Amazon appstore Downloads 超微浏览器下载及使用技巧 (Mirrors: gitlab repo codeberg netlify stormkit surge github pages bitbucket vercel) -微:不到200K。 威:支持使用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等)。 +微:不到200K。 威:支持使用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等)。 小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。 独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。 独创脚本激活模式,脚本执行后被激活,此后自动作用于同类网址。