add web extension support

This commit is contained in:
James Feng Cao 2022-10-22 06:47:01 +08:00
parent 939b257389
commit 2d016e3fdb
8 changed files with 32 additions and 13 deletions

View file

@ -47,8 +47,9 @@
<ul class="tags">
</ul>
<p>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.</p>
<p>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.html&quot; in the browser. Note: the folder name &quot;kiwix&quot; 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 &quot;sitecache/local/&quot;</a>: support web extensions (.crx for chrome &amp; .xpi for firefox).</p>
<p>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.</p>
<p>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/local/kiwix&quot;, then the kiwix extension can be accessed via url &quot;https://local/kiwix/www/index.html&quot; in the browser. Note: the folder name &quot;local&quot; is used as the domain name in the url.</p>
</div>