From cae83394efa8ebe3f6aa2e2ff6d6804b44afbd4d Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 26 Feb 2025 19:59:02 +0800 Subject: [PATCH] uweb1099: html as data cruncher and presenter for url as remote data --- en/_posts/index.xml | 4 ++-- en/html5/index.html | 3 ++- en/index.xml | 4 ++-- en/sitemap.xml | 6 +++--- sitemap.xml | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index d9c56ad4..226fff14 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -6,14 +6,14 @@ Recent content in _Posts on uweb browser: unlimited power Hugo en - Wed, 26 Feb 2025 19:18:42 +0800 + Wed, 26 Feb 2025 19:58:33 +0800 Html5 applications https://jamesfengcao.gitlab.io/uweb/en/html5/ Wed, 26 Feb 2025 00:00:00 +0000 https://jamesfengcao.gitlab.io/uweb/en/html5/ - <h3 id="html-as-data-cruncher-and-presenter-with-i0m-links">Html as data cruncher and presenter with <a href="../links/index.html#">i:0m links</a></h3> <p>The following link can be used to read [remote url] as huge text file, it shows only the first page. Pressing &quot;-&gt;&quot; on the bottom tool bar for next page:<br> i:0m/js/view.html:[remote url]#p=1</p> <p>Multiple conversions could be appended to the html file. Ex:<br> i:0m/js/view.html#/js/2lnk.js:[remote url]#p=1<br> where &quot;/js/2lnk.js&quot; converts urls in the remote text file to clickable links.</p> <p>Any html/js file could be referred with its full path, such as &quot;/sdcard/.../xx.js&quot; as long as uweb has read permission.</p> + <h3 id="html-as-data-cruncher-and-presenter-using-remote-url-as-data-with-i0m-links">Html as data cruncher and presenter using remote url as data with <a href="../links/index.html#">i:0m links</a></h3> <p>The following link can be used to read [remote url] as huge text file, it shows only the first page. Pressing &quot;-&gt;&quot; on the bottom tool bar for next page:<br> i:0m/js/view.html:[remote url]#p=1</p> <p>Multiple conversions could be appended to the html file. Ex:<br> i:0m/js/view.html#/js/2lnk.js:[remote url]#p=1<br> where &quot;/js/2lnk.js&quot; converts urls in the remote text file to clickable links.</p> <p>Any html/js file could be referred with its full path, such as &quot;/sdcard/.../xx.js&quot; as long as uweb has read permission.</p> Common phrases for input method diff --git a/en/html5/index.html b/en/html5/index.html index e713ee7d..21e2ce4a 100644 --- a/en/html5/index.html +++ b/en/html5/index.html @@ -48,13 +48,14 @@
- +

The following link can be used to read [remote url] as huge text file, it shows only the first page. Pressing "->" on the bottom tool bar for next page:
i:0m/js/view.html:[remote url]#p=1

Multiple conversions could be appended to the html file. Ex:
i:0m/js/view.html#/js/2lnk.js:[remote url]#p=1
where "/js/2lnk.js" converts urls in the remote text file to clickable links.

Any html/js file could be referred with its full path, such as "/sdcard/.../xx.js" as long as uweb has read permission.

+

"%1%", "%2%", ... in the above html file will be replaced by the function body of the first, second, ... js file respectively. The js files themselves are regular js code ends with "()", no end of line (\n) appended. A sample js file looks like "((...args)=>{})()", so the code itself can also be run independently as bookmarklet either without or with extra argument.

Traditional html5 apps

This page is for uweb browser.
Click to install the following html5 apps:
diff --git a/en/index.xml b/en/index.xml index 15b00e85..286752bd 100644 --- a/en/index.xml +++ b/en/index.xml @@ -6,14 +6,14 @@ Recent content on uweb browser: unlimited power Hugo en - Wed, 26 Feb 2025 19:18:42 +0800 + Wed, 26 Feb 2025 19:58:33 +0800 Html5 applications https://jamesfengcao.gitlab.io/uweb/en/html5/ Wed, 26 Feb 2025 00:00:00 +0000 https://jamesfengcao.gitlab.io/uweb/en/html5/ - <h3 id="html-as-data-cruncher-and-presenter-with-i0m-links">Html as data cruncher and presenter with <a href="../links/index.html#">i:0m links</a></h3> <p>The following link can be used to read [remote url] as huge text file, it shows only the first page. Pressing &quot;-&gt;&quot; on the bottom tool bar for next page:<br> i:0m/js/view.html:[remote url]#p=1</p> <p>Multiple conversions could be appended to the html file. Ex:<br> i:0m/js/view.html#/js/2lnk.js:[remote url]#p=1<br> where &quot;/js/2lnk.js&quot; converts urls in the remote text file to clickable links.</p> <p>Any html/js file could be referred with its full path, such as &quot;/sdcard/.../xx.js&quot; as long as uweb has read permission.</p> + <h3 id="html-as-data-cruncher-and-presenter-using-remote-url-as-data-with-i0m-links">Html as data cruncher and presenter using remote url as data with <a href="../links/index.html#">i:0m links</a></h3> <p>The following link can be used to read [remote url] as huge text file, it shows only the first page. Pressing &quot;-&gt;&quot; on the bottom tool bar for next page:<br> i:0m/js/view.html:[remote url]#p=1</p> <p>Multiple conversions could be appended to the html file. Ex:<br> i:0m/js/view.html#/js/2lnk.js:[remote url]#p=1<br> where &quot;/js/2lnk.js&quot; converts urls in the remote text file to clickable links.</p> <p>Any html/js file could be referred with its full path, such as &quot;/sdcard/.../xx.js&quot; as long as uweb has read permission.</p> Common phrases for input method diff --git a/en/sitemap.xml b/en/sitemap.xml index cf38142d..91bcf5cb 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://jamesfengcao.gitlab.io/uweb/en/_posts/ - 2025-02-26T19:18:42+08:00 + 2025-02-26T19:58:33+08:00 https://jamesfengcao.gitlab.io/uweb/en/html5/ - 2025-02-26T19:18:42+08:00 + 2025-02-26T19:58:33+08:00 https://jamesfengcao.gitlab.io/uweb/en/ - 2025-02-26T19:18:42+08:00 + 2025-02-26T19:58:33+08:00 https://jamesfengcao.gitlab.io/uweb/en/sitemap.xml - 2025-02-26T19:18:42+08:00 + 2025-02-26T19:58:33+08:00