Firefox 在opensearch.xml中设置关键字条目
当我检查搜索引擎的firefox设置时,我可以看到一列关键字 在opensearch.xml中,我可以定义Firefox 在opensearch.xml中设置关键字条目,firefox,opensearch,Firefox,Opensearch,当我检查搜索引擎的firefox设置时,我可以看到一列关键字 在opensearch.xml中,我可以定义标记,它不会在这里创建条目。当我添加自己的opensearch时,我还想设置“关键字”。你是怎么做到的 到目前为止,我的opensearch.xml看起来像这样,并且正在工作(我可以在firefox中通过搜索栏中的绿色加号图标添加搜索): 我的头衔 我的描述 UTF-8 我的头衔 https://myexample.com/favicon.ico https://myexample.co
标记
,它不会在这里创建条目。当我添加自己的opensearch时,我还想设置“关键字”。你是怎么做到的
到目前为止,我的opensearch.xml
看起来像这样,并且正在工作(我可以在firefox中通过搜索栏中的绿色加号图标添加搜索):
我的头衔
我的描述
UTF-8
我的头衔
https://myexample.com/favicon.ico
https://myexample.com
在中找不到任何引用。由于关键字条目是用户定义的快捷方式,因此无法在opensearch.xml中设置它
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>MyTitle</ShortName>
<Description>My Description
</Description>
<InputEncoding>UTF-8</InputEncoding>
<Tags>mytitle</Tags>
<Image width="16" height="16" type="image/x-icon">https://myexample.com/favicon.ico</Image>
<Url type="text/html" template="https://myexample.com">
<Param name="query" value="{searchTerms}"/>
</Url>
<moz:SearchForm>https://myexample.com</moz:SearchForm>
</OpenSearchDescription>