From 79f9980fb538d0ee67cf07e5cc7599442123436a Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Wed, 23 Nov 2022 13:52:03 +0800 Subject: [PATCH] add ddns support --- en/bookmark/index.html | 3 ++- en/changelog/index.html | 1 + en/cmds/index.html | 5 ++++- en/index.xml | 5 +++-- en/offlinecache/index.html | 10 +++++++++- en/topposts/index.xml | 5 +++-- zh/searchurl/txt/txtview.html | 3 +++ 7 files changed, 25 insertions(+), 7 deletions(-) diff --git a/en/bookmark/index.html b/en/bookmark/index.html index 534f69e..9f9e3b4 100644 --- a/en/bookmark/index.html +++ b/en/bookmark/index.html @@ -67,7 +67,8 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx& "novel.html": auto reader's mode

Science

Physics

-

Feynman lectures

+

Feynman lectures
+goodtheorist

Chemistry

chemspider
molecule SMILES
diff --git a/en/changelog/index.html b/en/changelog/index.html index 0fd42d9..db46a2f 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -49,6 +49,7 @@

pagure

sourceforge

Change logs

+

945: commands to support evaluation of generated js code.

943: Multiple home screens support .mht (offline webpage), .search & .html local files.

940: Any url as website with local html processing ("i:0m/..../xxx.html:url")

935:

diff --git a/en/cmds/index.html b/en/cmds/index.html index b3f9792..a577b5c 100644 --- a/en/cmds/index.html +++ b/en/cmds/index.html @@ -66,6 +66,9 @@

Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500

Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500

Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500

+

Modify with your own info:
+Refresh dynv6 ddns for sim card 1

+

Refresh dynv6 ddns for wifi

Need root permissions:

Need termux:
VPN::am start -a android.net.vpn.SETTINGS

@@ -96,7 +99,7 @@ Clipboard2QR needs libqrencode.

[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).
[mimetype] have the following formats:

Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox).

Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network.

-

PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix", then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser. Note: the folder name "local" is used as the domain name in the url.

+

PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix"1, then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser.

+
+
+
    +
  1. +

    the folder name "local" is used as the domain name in the url. ↩︎

    +
  2. +
+
diff --git a/en/topposts/index.xml b/en/topposts/index.xml index 1365389..e6d8c61 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -17,11 +17,12 @@ uweb, termux & history versions github pagure sourceforge -Change logs 943: Multiple home screens support .mht (offline webpage), .search & .html local files. +Change logs 945: commands to support evaluation of generated js code. +943: Multiple home screens support .mht (offline webpage), .search & .html local files. 940: Any url as website with local html processing ("i:0m/..../xxx.html:url") 935: Pipe support: command line output to uweb tabs. 934: -Serverless local sites: PWA-kind web extension (chrome .crx & firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. kiwix zim as search engines. +Serverless local sites: PWA-kind web extension (chrome .crx & firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. diff --git a/zh/searchurl/txt/txtview.html b/zh/searchurl/txt/txtview.html index 41baa37..007bace 100644 --- a/zh/searchurl/txt/txtview.html +++ b/zh/searchurl/txt/txtview.html @@ -19,6 +19,9 @@ //return await resp.text(); } } + marked.setOptions({ + gfm: true, + }); var file; var blocksize = 20480;