将Google建议添加到Firefox中的自定义搜索提供程序

时间:2014-03-10 14:40:48

标签: firefox firefox-addon search-engine search-suggestion google-suggest

我的Firefox自定义搜索提供程序已损坏。直到最近,它才像魅力一样。有人可以告诉我如何解决它吗?它看起来像这样。

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
    <ShortName>Google Encrypted</ShortName>
    <Description>Google Encrypted Search</Description>
    <InputEncoding>UTF-8</InputEncoding>
    <Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUUlEQVR42pWTzUsCYRCH9y9zu3SooCCkjhIRRLeIykXokiWCJ7PvDpZRlz6si1lIQZ3SQxQdOhREpgSm0JeQvfu0+i6I7LKLh4F5h5nnnRl+o6jTdHn8omAYbVqhXqvYFXcEBKFDwcoZZB8B4LkEB9cwGGmFKHb01A1EU9JXzfdvDYZi1lwLwBcVAIwsNWPesIwls7gDtB2Z7N9ujVe+IX2LO2AgItB1OL9vJqsmILDrOoK02IkBAdYy4FsQJC5h+VQCHQDWTqYSgo8fuHuRxS4Ae3stQ7UGE5ttAHqCUgfxC7m4ryrowOyeO6CxqHwZxtYFqtYc5+kNan/gDTsAeueEIRj7n/rmRQMwueUAGF0VAAT3rQBTC0Y3DoDOGbm00icML4oWHYSTgo0MFqjlmPpDgqMcFCuQf4erBzjOwXjcriu9qHg0uutO2+es6fl67T9ptebvFRjBVgAAAABJRU5ErkJggg==</Image>
    <Url type="application/x-suggestions+json" method="GET" template="https://encrypted.google.com/complete/search?client=firefox&amp;q={searchTerms} "/>
    <Url type="text/html" method="GET" template="https://encrypted.google.com/search">
        <Param name="q" value="{searchTerms}"/>
    </Url>
    <SearchForm>https://encrypted.google.com/</SearchForm>
</SearchPlugin>

没有运气我已经尝试了新的建议网址http://suggestqueries.google.com/complete/search?client=firefox&amp;q={searchTerms}。 感谢任何建议!

1 个答案:

答案 0 :(得分:0)

我认为您的搜索模板网址错误。尝试使用: https://www.google.com/complete/search?client=firefox&q={searchTerms} 在最后没有空格,你有一个空格