fix typos from torinfo to torapp

This commit is contained in:
James Feng Cao 2022-09-24 14:12:26 +08:00
parent 5bcae803c8
commit 28da258433
26 changed files with 169 additions and 164 deletions

View file

@ -27,18 +27,18 @@ i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,md
配置default.filecap并打开选项“文件预处理”清后台重启浏览器后超微可直接阅读应用对应格式文件。
点击配置pdf.js,djvu.js,epub.js,超大文件阅读器
超大文件阅读器txtview.html url如下:
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]
file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]
file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]
file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]
file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#page=[xxx]
file:///data/user/0/info.torapp.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]
file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#page=[xxx]
file:///data/user/0/info.torapp.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]
譬如"#offset=10000&500"会访问超大文件偏移量10000处长度为500的内容。
所有阅读器均支持箭头按钮(短按前进按钮或长按后退按钮)自动翻页。
比较有用的是mozilla的pdf.js可用来显示在线或本地pdf文件。url如下:
file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]
file:///data/user/0/info.torapp.uweb/files/app/pdfviewer.html?file=[绝对或相对路径].pdf#page=[xxx]
则浏览器直接跳转到pdf文件指定页。与主屏多引擎搜索及少量脚本结合使用可对任何pdf文件进行字典检索。
下面是一些类似的应用:
djvu.js应用的访问url如下
file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]
file:///data/user/0/info.torapp.uweb/files/app/djvu.html?url=[绝对或相对路径或url].pdf#page=[xxx]
epub.js
sampotts/plyr : video, YouTube and Vimeo player
videojs/video.js
@ -577,7 +577,7 @@ mimetype表示命令处理后的输出内容格式。
利用文件预处理,超微浏览器现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。
配置default.filecap如下
txt:text/html:curl %p "%u" mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>' m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>' m3u8:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>' mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>' mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>' doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U xz:text/plain:curl %p "%u"|xz -d -- 安装过相应的html5应用则如下配置阅读相应格式文件
pdf:uweb:echo file:///data/data/info.torinfo.uweb/files/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=%u epub:uweb:echo file:///data/data/info.torinfo.uweb/files/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html?bookPath==%u 长按设置按钮,勾选“文件预处理”,清后台重启浏览器。则网页上点击下载按钮时上述文件类型会自动预览。
如果用户配置中处理命令用到curl则需要安装Termux并在Termux中安装curl (&amp;quot;apt install curl&amp;quot;)。</description>
</item>