在剑桥英语的官网上发现一个功能,访问它的页面会让我的firefox搜索工具栏自动显示出它们的搜索插件,非常轻松就能将搜索引擎加入到我的搜索工具栏中
查看了一下它的源码,怀疑时由下面的语句触发的
<link
?rel
="search
"
?type
="application/opensearchdescription+xml
"
?title
="Cambridge Advanced Learner's Dictionary
"
?href
="/gadgets/british/opensearch.xml
"
>
搜索关键字是:opensearch
firefox官方说明:https://developer.mozilla.org/en/Creating_OpenSearch_plugins_for_Firefox