---
title: "让firefox自动添加搜索工具-opensearch"
author: "kingquake21"
date: "2012-03-13T09:33:10Z"
tags: ["firefox search toolbar opensearch"]
categories: ["Web前端"]
slug: "firefox-opensearch"
draft: false
lastmod: "2012-03-13T09:33:10Z"
id: 1451997
url: "https://kingquake21.iteye.com/blog/1451997"
---

在剑桥英语的官网上发现一个功能，访问它的页面会让我的firefox搜索工具栏自动显示出它们的搜索插件，非常轻松就能将搜索引擎加入到我的搜索工具栏中

查看了一下它的源码，怀疑时由下面的语句触发的

&lt;link  rel ="search "  type ="application/opensearchdescription+xml "  title ="Cambridge Advanced Learner's Dictionary "  href ="/gadgets/british/opensearch.xml " &gt;

搜索关键字是：opensearch

firefox官方说明：https://developer.mozilla.org/en/Creating\_OpenSearch\_plugins\_for\_Firefox