Compare commits

...

4 commits

Author SHA1 Message Date
James Feng Cao
c408fd8407 more doc for mdict engines 2022-10-13 16:24:40 +08:00
James Feng Cao
b5462e600b add doc for mdict engines 2022-10-13 16:17:19 +08:00
James Feng Cao
22d028d2dd add option for webview debug 2022-10-13 15:44:47 +08:00
James Feng Cao
708290b421 mdict: fix selectize css path 2022-10-13 15:27:00 +08:00
8 changed files with 29 additions and 8 deletions

View file

@ -88,11 +88,12 @@ Click to install the following html5 apps:<br>
<li>If you want &quot;app&quot; to be locations other than &quot;/sdcard/Download/app&quot;, modify as you like.</li> <li>If you want &quot;app&quot; to be locations other than &quot;/sdcard/Download/app&quot;, modify as you like.</li>
<li>Press &quot;enter&quot; on the address bar to execute the command.</li> <li>Press &quot;enter&quot; on the address bar to execute the command.</li>
</ul> </ul>
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4> <h4 id="mdict-dictionary-lookup-search-engines">mdict dictionary lookup search engines:</h4>
<p>Note: the following two mdict.html files are different.<br> <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> i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s</p>
<p>in which &quot;/.../xxx.mdx,xxx.mdd&quot; is the full path for the mdict dictionary files.</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#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>In the above mdict search engine string, 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> <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>
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p> <p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
<p>After pasting the command to the address bar, press home screen button, then press &quot;enter&quot; on the address bar to execute the command.</p> <p>After pasting the command to the address bar, press home screen button, then press &quot;enter&quot; on the address bar to execute the command.</p>

View file

@ -56,6 +56,7 @@ body>ul{padding-left:0;}
<li><label><input type="checkbox" onchange="location.href='i:258388608'"/>Maximize screen size for cutouts</label></li> <li><label><input type="checkbox" onchange="location.href='i:258388608'"/>Maximize screen size for cutouts</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2516777216'"/>Block dubious resources when blocking external scripts</label></li> <li><label><input type="checkbox" onchange="location.href='i:2516777216'"/>Block dubious resources when blocking external scripts</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>Use termux</label></li> <li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>Use termux</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2567108864'"/>webview debug</label></li>
</ul> </ul>
<script> <script>
checkBoxes=document.getElementsByTagName("input"); checkBoxes=document.getElementsByTagName("input");

View file

@ -5,7 +5,7 @@
<title>mdict</title> <title>mdict</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css"> <link rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="selectize.default.css" media="screen"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/selectize.default.css" media="screen">
<style> <style>
#btnLookup { #btnLookup {
border: none; border: none;

View file

@ -1 +1,10 @@
<meta http-equiv="refresh" content="0; url=en/index.html"> <!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>

View file

@ -13,8 +13,11 @@
<guid>/zh/html5/</guid> <guid>/zh/html5/</guid>
<description>mdict字典搜索引擎: <description>mdict字典搜索引擎:
长按底部右箭头弹出系统菜单=&amp;gt;添加搜索引擎=&amp;gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类
i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s
其中&amp;quot;/.../xxx.mdx,xxx.mdd&amp;quot;为词典文件全路径。
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。 对于这类搜索引擎,字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。
点击安装超大文件阅读器支持txt, html, markdown 点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等 点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等
点击安装plyr视频播放器 点击安装plyr视频播放器

View file

@ -48,8 +48,11 @@
</ul> </ul>
<p>mdict字典搜索引擎:<br> <p>mdict字典搜索引擎:<br>
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p> 长按底部右箭头弹出系统菜单=&gt;添加搜索引擎=&gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类</p>
<p>字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。为方便文件操作,用户可<a href="../../en/acmd/index.html">符号链接&quot;app&quot;至任意公共目录</a></p> <p>i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s</p>
<p>其中&quot;/.../xxx.mdx,xxx.mdd&quot;为词典文件全路径。</p>
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
<p>对于这类搜索引擎,字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。为方便文件操作,用户可<a href="../../en/acmd/index.html">符号链接&quot;app&quot;至任意公共目录</a></p>
<p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br> <p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br>
<a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br> <a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br>
<a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br> <a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>

View file

@ -88,8 +88,11 @@ novip:https://www.novipnoad.com/s=</description>
<guid>/zh/html5/</guid> <guid>/zh/html5/</guid>
<description>mdict字典搜索引擎: <description>mdict字典搜索引擎:
长按底部右箭头弹出系统菜单=&amp;gt;添加搜索引擎=&amp;gt;第三行输入搜索引擎串。对于需要批量添加的用户显示主屏时可长按底部时钟按钮点击编辑器然后添加保存清后台重启生效。mdict搜索引擎串有以下两类推荐第一类
i:5ifile:///.../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s
其中&amp;quot;/.../xxx.mdx,xxx.mdd&amp;quot;为词典文件全路径。
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。 对于这类搜索引擎,字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。为方便文件操作,用户可符号链接&amp;quot;app&amp;quot;至任意公共目录。
点击安装超大文件阅读器支持txt, html, markdown 点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等 点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等
点击安装plyr视频播放器 点击安装plyr视频播放器

View file

@ -56,6 +56,7 @@ body>ul{padding-left:0;}
<li><label><input type="checkbox" onchange="location.href='i:258388608'"/>最大化使用区域</label></li> <li><label><input type="checkbox" onchange="location.href='i:258388608'"/>最大化使用区域</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2516777216'"/>屏蔽第三方脚本时屏蔽可疑资源</label></li> <li><label><input type="checkbox" onchange="location.href='i:2516777216'"/>屏蔽第三方脚本时屏蔽可疑资源</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>使用termux</label></li> <li><label><input type="checkbox" onchange="location.href='i:2533554432'"/>使用termux</label></li>
<li><label><input type="checkbox" onchange="location.href='i:2567108864'"/>webview调试</label></li>
</ul> </ul>
<script> <script>
checkBoxes=document.getElementsByTagName("input"); checkBoxes=document.getElementsByTagName("input");