From bc8110325b510b167f3cae51a00ec43a3d7c0392 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 31 Jan 2023 09:19:11 +0800 Subject: [PATCH 1/4] fix broken links --- README.md | 10 +++++----- README.zh-Hans.md | 4 ++-- build.gradle | 10 ++++++++++ en/changelog/index.html | 2 +- en/download.md | 3 +-- en/index.xml | 2 +- en/readme/index.html | 10 +++++----- en/topposts/index.xml | 2 +- zh/readme/index.html | 4 ++-- 9 files changed, 28 insertions(+), 19 deletions(-) create mode 100644 build.gradle diff --git a/README.md b/README.md index 14d1962..4a83463 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ### Uweb browser for geeks: unlimited power with html5 & termux -[中文](README.zh-Hans.md) +[中文](https://uwebzh.netlify.app/zh/readme/index.html) [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -[Downloads](en/download.md) +[Downloads](https://uwebzh.netlify.app/en/changelog/index.html) [Uweb browser: downloads, plugins and tips](https://torappinfo.github.io/uweb/en/) (Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/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/) [bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uwebzh.onrender.com/en/)) @@ -12,9 +12,9 @@ - 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/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. +- 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. #### 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 dac2460..a3ba285 100644 --- a/README.zh-Hans.md +++ b/README.zh-Hans.md @@ -1,8 +1,8 @@ ### 超微浏览器: 微、威、快、高效、极致优化 -[English](README.md) +[English](https://uwebzh.netlify.app/en/readme/index.html) [Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5) -[Downloads](en/download.md) +[Downloads](https://uwebzh.netlify.app/en/changelog/index.html) [超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/) (Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [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/) [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/)) diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..b9f58c2 --- /dev/null +++ b/build.gradle @@ -0,0 +1,10 @@ +defaultTasks 'genApk' +task genApk() { + doFirst { + mkdir "build/outputs/apk" + def f = new File('build/outputs/apk/uweb.apk') + new URL('https://releases.pagure.org/uweb/uweb_latest.apk').withInputStream{ i -> f.withOutputStream{ it << i }} + } +} + + diff --git a/en/changelog/index.html b/en/changelog/index.html index b2aa4c1..ede715a 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -46,8 +46,8 @@

Amazon appstore

uweb, termux & history versions

github

-

pagure

sourceforge

+

pagure

Main features

Change logs

964: site source html preprocessing before rendering with user site extra html.
diff --git a/en/download.md b/en/download.md index e37654c..7102d8e 100644 --- a/en/download.md +++ b/en/download.md @@ -1,9 +1,8 @@ #### Download links -[pagure](https://releases.pagure.org/uweb/) - [uweb, termux & history versions](https://s1.asytech.cn/s/tQrgT5kBRg8Trry) [github](https://github.com/torappinfo/uweb/releases/tag/v1) [sourceforge](https://sourceforge.net/projects/uwebbrowser/files/v1/) +[pagure](https://releases.pagure.org/uweb/) \ No newline at end of file diff --git a/en/index.xml b/en/index.xml index 6631c4a..8e70983 100644 --- a/en/index.xml +++ b/en/index.xml @@ -91,8 +91,8 @@ The following html5 applications are allowed to read local files referred by &am Amazon appstore uweb, termux &amp; history versions github -pagure sourceforge +pagure Main features Change logs 964: site source html preprocessing before rendering with user site extra html. 961: webdav/http file upload support with &quot;i:0u&quot; links. 956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login. diff --git a/en/readme/index.html b/en/readme/index.html index 988a927..761eb83 100644 --- a/en/readme/index.html +++ b/en/readme/index.html @@ -48,9 +48,9 @@

Uweb browser for geeks: unlimited power with html5 & termux

-

中文

+

中文

Amazon appstore
-Downloads

+Downloads

Uweb browser: downloads, plugins and tips
(Mirrors: netlify gitlab stormkit surge codeberg repo pages vercel bitbucket render)

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 dc06ea6..f60d55a 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -15,8 +15,8 @@ Amazon appstore uweb, termux &amp; history versions github -pagure sourceforge +pagure Main features Change logs 964: site source html preprocessing before rendering with user site extra html. 961: webdav/http file upload support with &quot;i:0u&quot; links. 956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login. diff --git a/zh/readme/index.html b/zh/readme/index.html index 4cbfe56..7d25f9e 100644 --- a/zh/readme/index.html +++ b/zh/readme/index.html @@ -48,9 +48,9 @@

超微浏览器: 微、威、快、高效、极致优化

-

English

+

English

Amazon appstore
-Downloads

+Downloads

超微浏览器下载及使用技巧
(Mirrors: gitlab repo codeberg netlify stormkit surge github pages bitbucket vercel)

Click the following links to install menus for long pressing the button "link":
-google Translate

+Search with home screen

+

google Translate

bing translate

deepL

The file "default.select" defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
diff --git a/en/tags/clipboard/index.xml b/en/tags/clipboard/index.xml index 8770f40..96cda46 100644 --- a/en/tags/clipboard/index.xml +++ b/en/tags/clipboard/index.xml @@ -13,6 +13,7 @@ /en/pccopy/ Click the following links to install menus for long pressing the button &quot;link&quot;: +Search with home screen google Translate bing translate deepL @@ -20,8 +21,7 @@ The file &quot;default.select&quot; defines menus for selected text. If [Name]:[mimetype]:[command line] [mimetype] specifies input/output for [command line]. It formats as &quot;[input mimetype]/[output mimetype]&quot;. -[input mimetype] can be the following: -&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;. +[input mimetype] can be the following: diff --git a/en/tags/pc/index.xml b/en/tags/pc/index.xml index 628d0b4..feecac9 100644 --- a/en/tags/pc/index.xml +++ b/en/tags/pc/index.xml @@ -13,6 +13,7 @@ /en/pccopy/ Click the following links to install menus for long pressing the button &quot;link&quot;: +Search with home screen google Translate bing translate deepL @@ -20,8 +21,7 @@ The file &quot;default.select&quot; defines menus for selected text. If [Name]:[mimetype]:[command line] [mimetype] specifies input/output for [command line]. It formats as &quot;[input mimetype]/[output mimetype]&quot;. -[input mimetype] can be the following: -&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;. +[input mimetype] can be the following: diff --git a/en/tags/ssh/index.xml b/en/tags/ssh/index.xml index e0ca66b..546b75a 100644 --- a/en/tags/ssh/index.xml +++ b/en/tags/ssh/index.xml @@ -13,6 +13,7 @@ /en/pccopy/ Click the following links to install menus for long pressing the button &quot;link&quot;: +Search with home screen google Translate bing translate deepL @@ -20,8 +21,7 @@ The file &quot;default.select&quot; defines menus for selected text. If [Name]:[mimetype]:[command line] [mimetype] specifies input/output for [command line]. It formats as &quot;[input mimetype]/[output mimetype]&quot;. -[input mimetype] can be the following: -&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;. +[input mimetype] can be the following: diff --git a/en/tags/termux/index.xml b/en/tags/termux/index.xml index c0023d4..34d6a02 100644 --- a/en/tags/termux/index.xml +++ b/en/tags/termux/index.xml @@ -13,6 +13,7 @@ /en/pccopy/ Click the following links to install menus for long pressing the button &quot;link&quot;: +Search with home screen google Translate bing translate deepL @@ -20,8 +21,7 @@ The file &quot;default.select&quot; defines menus for selected text. If [Name]:[mimetype]:[command line] [mimetype] specifies input/output for [command line]. It formats as &quot;[input mimetype]/[output mimetype]&quot;. -[input mimetype] can be the following: -&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;. +[input mimetype] can be the following: diff --git a/en/tags/windows/index.xml b/en/tags/windows/index.xml index 90a138f..4792cbe 100644 --- a/en/tags/windows/index.xml +++ b/en/tags/windows/index.xml @@ -13,6 +13,7 @@ /en/pccopy/ Click the following links to install menus for long pressing the button &quot;link&quot;: +Search with home screen google Translate bing translate deepL @@ -20,8 +21,7 @@ The file &quot;default.select&quot; defines menus for selected text. If [Name]:[mimetype]:[command line] [mimetype] specifies input/output for [command line]. It formats as &quot;[input mimetype]/[output mimetype]&quot;. -[input mimetype] can be the following: -&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;. +[input mimetype] can be the following: diff --git a/en/topposts/index.xml b/en/topposts/index.xml index f60d55a..ae23d5b 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -16,6 +16,7 @@ uweb, termux &amp; history versions github sourceforge +powerfolder pagure Main features Change logs 964: site source html preprocessing before rendering with user site extra html. 961: webdav/http file upload support with &quot;i:0u&quot; links. diff --git a/index.html b/index.html index 33185bf..db7d507 100644 --- a/index.html +++ b/index.html @@ -1,10 +1 @@ - - - - en/ - - - - - - + diff --git a/zh/searchurl/txt/select.cfg b/zh/searchurl/txt/select.cfg index eb34e73..d937b1c 100644 --- a/zh/searchurl/txt/select.cfg +++ b/zh/searchurl/txt/select.cfg @@ -1,3 +1,4 @@ +首页搜索:/uweb:printf file://data/data/info.torapp.uweb/files/home5.search\ location.href=\"i:15;cat;printf \" TTS:/uweb:printf i:5e;cat 笔记:/uweb:printf i:53;cat sitejs:/uweb:printf i:50../sitejs/:;cat From 491856eb1f06c61e5511705fcd329df61088a7f4 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 31 Jan 2023 19:54:36 +0800 Subject: [PATCH 4/4] add menu for selection: search with home screen --- en/pccopy/index.html | 2 +- index.html | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/en/pccopy/index.html b/en/pccopy/index.html index ebd89a9..8f4f5a6 100644 --- a/en/pccopy/index.html +++ b/en/pccopy/index.html @@ -58,7 +58,7 @@

Click the following links to install menus for long pressing the button "link":
-Search with home screen

+Search with home screen

google Translate

bing translate

deepL

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