2020-08-23 15:56:32 +00:00
|
|
|
|
<!doctype html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
|
|
2020-11-13 09:30:50 +00:00
|
|
|
|
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
|
2020-08-23 15:56:32 +00:00
|
|
|
|
<title>html5应用</title>
|
2022-06-30 03:43:09 +00:00
|
|
|
|
<script type="text/javascript">
|
2022-07-12 02:24:02 +00:00
|
|
|
|
function findLang(){
|
2022-06-30 03:43:09 +00:00
|
|
|
|
let href = location.href;
|
|
|
|
|
for(let i=href.length-1;i>0;i--){
|
|
|
|
|
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
2022-07-12 02:24:02 +00:00
|
|
|
|
return i;
|
2022-06-30 03:43:09 +00:00
|
|
|
|
}
|
2022-07-12 02:24:02 +00:00
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
function nav2(page){
|
|
|
|
|
let i = findLang();
|
|
|
|
|
location.href = location.href.substring(0,i+1)+page;
|
|
|
|
|
}
|
|
|
|
|
function nav2Lang(lang){
|
|
|
|
|
let i = findLang();
|
|
|
|
|
let href = location.href;
|
|
|
|
|
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
2022-06-30 03:43:09 +00:00
|
|
|
|
}
|
|
|
|
|
</script>
|
2020-08-23 15:56:32 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header class='header'>
|
2022-06-30 03:43:09 +00:00
|
|
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
2022-07-12 02:24:02 +00:00
|
|
|
|
|
2022-07-31 08:18:31 +00:00
|
|
|
|
|
|
|
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
|
|
|
|
|
|
|
|
|
|
|
2020-08-23 15:56:32 +00:00
|
|
|
|
<nav>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2020-08-29 00:42:46 +00:00
|
|
|
|
<br />
|
2020-08-23 15:56:32 +00:00
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
<h1 class="title">html5应用
|
|
|
|
|
<br>
|
|
|
|
|
<span class="subtitle"></span>
|
|
|
|
|
</h1>
|
|
|
|
|
<ul class="tags">
|
|
|
|
|
|
|
|
|
|
</ul>
|
2022-07-27 12:45:20 +00:00
|
|
|
|
<p>mdict字典搜索引擎:<br>
|
2022-09-13 09:29:06 +00:00
|
|
|
|
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=</p>
|
2022-07-27 12:45:20 +00:00
|
|
|
|
<p>字典文件必须位于配置目录应用子目录"app"下。上述字典搜索引擎例子中文件"xxx.mdx"及"xxx.mdd"位于".../app/mdict"下。</p>
|
2022-09-13 09:29:06 +00:00
|
|
|
|
<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/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
|
|
|
|
|
<a target="_self" href="i:0happ/dplayer.html:../searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br>
|
|
|
|
|
<a target="_self" href="i:0happ/pdfviewer.html:../searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br>
|
|
|
|
|
<a target="_self" href="i:0happ/epub.html:../searchurl/txt/epub.html">点击安装epub阅读器(作者:llili)</a><br>
|
|
|
|
|
<a target="_self" href="i:0happ/djvu.html:../searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
|
2022-07-29 04:46:00 +00:00
|
|
|
|
相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p>
|
2022-07-09 00:45:17 +00:00
|
|
|
|
<p>超微配置目录下的子目录名如果以"app"开始(譬如"appPDF"),则这些"app"开头目录树下放置的html5应用将可获得功能增强。</p>
|
2022-07-31 08:18:31 +00:00
|
|
|
|
<p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>
|
2022-08-11 11:14:34 +00:00
|
|
|
|
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">点击配置pdf.js,djvu.js,epub.js,超大文件阅读器</a></p>
|
2021-11-12 07:55:55 +00:00
|
|
|
|
<p>超大文件阅读器txtview.html url如下:<br>
|
2022-07-09 00:45:17 +00:00
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]<br>
|
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]<br>
|
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]<br>
|
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]<br>
|
2021-11-12 07:55:55 +00:00
|
|
|
|
譬如"#offset=10000&500"会访问超大文件偏移量10000处长度为500的内容。<br>
|
|
|
|
|
所有阅读器均支持箭头按钮(短按前进按钮或长按后退按钮)自动翻页。</p>
|
|
|
|
|
<p>比较有用的是mozilla的pdf.js,可用来显示在线或本地pdf文件。url如下:<br>
|
2022-07-09 00:45:17 +00:00
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]<br>
|
2020-08-23 15:56:32 +00:00
|
|
|
|
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用,可对任何pdf文件进行字典检索。</p>
|
2020-08-29 00:09:14 +00:00
|
|
|
|
<p>下面是一些类似的应用:<br>
|
2020-08-23 15:56:32 +00:00
|
|
|
|
djvu.js应用的访问url如下:<br>
|
2022-07-09 00:45:17 +00:00
|
|
|
|
file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]</p>
|
2020-08-29 00:09:14 +00:00
|
|
|
|
<p>epub.js<br>
|
|
|
|
|
sampotts/plyr : video, YouTube and Vimeo player<br>
|
|
|
|
|
videojs/video.js<br>
|
|
|
|
|
bilibili/flv.js<br>
|
|
|
|
|
MoePlayer/DPlayer<br>
|
|
|
|
|
Streamedian/html5_rtsp_player<br>
|
|
|
|
|
MoePlayer/APlayer : music player</p>
|
2020-08-23 15:56:32 +00:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|