Compare commits

...

3 commits

Author SHA1 Message Date
James Feng Cao
ad2ad04b47 html5 app: files://....?app= 2022-10-12 22:57:01 +08:00
James Feng Cao
eb30780475 revert to use pathname 2022-10-12 22:41:45 +08:00
James Feng Cao
ddcf396b11 location.pathname not work for file:// urls 2022-10-12 22:01:03 +08:00

View file

@ -89,6 +89,8 @@ Click to install the following html5 apps:<br>
<li>Press &quot;enter&quot; on the address bar to execute the command.</li>
</ul>
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4>
<p>Note: the following two mdict.html files are different.<br>
i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
<p>The dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</p>
<p>To make life easier, users can <a href="../acmd/index.html">link the &quot;app&quot; subfolder</a> to any public accessible folder.</p>