mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add web extension support
This commit is contained in:
parent
939b257389
commit
2d016e3fdb
8 changed files with 32 additions and 13 deletions
|
@ -12,8 +12,9 @@
|
|||
<pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .xpi for firefox) are just packaged websites. Ex. the &quot;kiwix&quot; extension can be extracted to the folder &quot;sitecache/kiwix&quot;, then the kiwix extension can be accessed via url &quot;https://kiwix/www/index.</description>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -62,7 +62,7 @@ Click to install the following html5 apps:<br>
|
|||
<p>The following mentioned subfolders locate in the configuration folder.</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>The following html5 applications are allowed to read local files referred by "https://local/sdcard/..." where the "/sdcard/.." part is the full path of the file. The below applications <span style="color:red">can auto choosed any files as file objects</span>.</p>
|
||||
<p>The following html5 applications are allowed to read local files referred by "https://local/sdcard/..." where the "/sdcard/.." part is the full path of the file. The below applications <span style="color:red">can auto choose any files as file objects</span>.</p>
|
||||
<ul>
|
||||
<li>Locating in a subfolder whose name begins with "app" (such as "appPDF")</li>
|
||||
<li>"https://local/..." applications (only possible with the option "<a href="../offlinecache/index.html">use offline resources</a>" and installed under the folder "sitecache/local/")</li>
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
<pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .xpi for firefox) are just packaged websites. Ex. the &quot;kiwix&quot; extension can be extracted to the folder &quot;sitecache/kiwix&quot;, then the kiwix extension can be accessed via url &quot;https://kiwix/www/index.</description>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -98,8 +98,14 @@ Socks proxy</p>
|
|||
</ul>
|
||||
<h3 id="i-internal-links">"i:" internal links:</h3>
|
||||
<ul>
|
||||
<li>i:0m[bookmarklet index|prefix|?postfix|c[cssFlag]]:[url]<br>
|
||||
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].</li>
|
||||
<li>
|
||||
<p>i:0b[path]:[url]<br>
|
||||
Extract remote content (tar/tgz/zip) under the folder [path]. If [path] ends with "/", then put unzipped file under the folder "[path]/[file name stem]" (for zipped files only, not for tar/tgz).</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>i:0m[bookmarklet index|prefix|?postfix|c[cssFlag]]:[url]<br>
|
||||
Visiting url and execute the uweb browser internal bookmarklet that keeps valid for all urls under the path of [url].</p>
|
||||
</li>
|
||||
<li></li>
|
||||
</ul>
|
||||
<p>[bookmarklet index] must have two/three digits. The first two digits are used as index of bootmarklet. For example, "00" as the first local bookmarklet; "01" as the first remote script; then "02" as the second local bookmarklet, ... The third digit is uplevel, 1 to make bookmarklet valid for parent path of [url].</p>
|
||||
|
|
|
@ -47,8 +47,9 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>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.</p>
|
||||
<p>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/kiwix", then the kiwix extension can be accessed via url "https://kiwix/www/index.html" in the browser. Note: the folder name "kiwix" is used as the domain name in the url.</p>
|
||||
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder "sitecache/local/"</a>: support web extensions (.crx for chrome & .xpi for firefox).</p>
|
||||
<p>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.</p>
|
||||
<p>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.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue