2020-05-09 14:42:57 +00:00
|
|
|
|
<!doctype html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<meta charset="utf-8">
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2022-10-31 07:44:05 +00:00
|
|
|
|
<link rel="stylesheet" href="../style.css" type="text/css" />
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<title>分类多引擎搜索</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-05-09 14:42:57 +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-09-10 12:55:34 +00:00
|
|
|
|
|
|
|
|
|
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
|
|
|
|
|
|
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<nav>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
2020-08-29 00:42:46 +00:00
|
|
|
|
<br />
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<div class="container">
|
|
|
|
|
<h1 class="title">分类多引擎搜索
|
|
|
|
|
<br>
|
|
|
|
|
<span class="subtitle"></span>
|
|
|
|
|
</h1>
|
|
|
|
|
<ul class="tags">
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-10-08 07:39:48 +00:00
|
|
|
|
<li><a href="../tags/%e6%90%9c%e7%b4%a2">搜索</a> </li>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</ul>
|
2022-08-11 11:14:34 +00:00
|
|
|
|
<p><a target="_self" href="i:0bhttps://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/searchcat.tar.gz">点击本链接自动安装分类多引擎文件至"bookmark"目录下</a>。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<p><a href="..">超微浏览器</a>中通过“设置”->“总目录”->“↑”->“Download”,点击后缀为.search的下载文件,超微浏览器将自动显示分类多引擎搜索。此时可按菜单键(或长按底部工具条后退按钮)选择“添加到桌面”方便以后访问。</p>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<p>.search文件每行格式为如下几种:<br>
|
|
|
|
|
[搜索引擎名]:[不含%s的url]<br>
|
|
|
|
|
[搜索引擎名]:[含%s的url]<br>
|
|
|
|
|
[搜索引擎名]:POST:[含%s的post参数]:[url]</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<p>.search文件首行必须为第一种类型的搜索引擎。由于其它两种类型的引擎数量稀少,为性能考虑,超微限制了首个引擎的种类。</p>
|
2020-05-09 14:42:57 +00:00
|
|
|
|
<h4 id="本地引擎">本地引擎</h4>
|
|
|
|
|
<p>搜索引擎已经支持命令行url,现在可添加离线字典查询至主页。命令行url格式为<br>
|
|
|
|
|
c:[含%s的命令行]<br>
|
|
|
|
|
d:mimetype:[含%s的命令行]:[外部资源url]<br>
|
|
|
|
|
查询时关键词会自动替换命令行中的%s。</p>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
<p>笔者用来查询各式词典,发现效果非常好。百兆以内的文本文件压缩以后可以直接快速检索,定位至特定位置以后可上下滚动阅读全部文本。</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-05-09 14:42:57 +00:00
|
|
|
|
</body>
|
2020-04-29 08:37:43 +00:00
|
|
|
|
</html>
|