Creating OpenSearch plugins for Firefox

  • Revision slug: Talk:Creating_OpenSearch_plugins_for_Firefox
  • Revision title: Creating OpenSearch plugins for Firefox
  • Revision id: 80676
  • Created:
  • Creator: GavinSharp
  • Is current revision? No
  • Comment /* Can I add the search engine by clicking on a link? */

Revision Content

Privacy?

At creating a OpenSearch plugin for Firefox 2.0 , I have to specify the a URL of the type="application/x-suggestions+json" where the search suggestions are stored.

This causes that the search suggestions are stored on the server. If I do not like this, because of privacy:

1) Can I prevent a plugin to store on a server as User of Firefox ?

2) What ULR do I have to use, that these things are stored locally ?

The "application/x-suggestions+json" URL in your plugin file has nothing to do with where suggestions are stored - it's the URL used to obtain the suggestions. These suggestions are displayed once and then discarded. These kinds of "suggestions" are different from the standard "history" results, which are stored in the user's profile, on disk. gavin 05:50, 31 October 2006 (PST)

Can I add the search engine by clicking on a link?

I created a few search engine XML files that work fine when I add them directly from the tool bar. That is, I go to the page where I have defined the auto discovery links to the XML files. Immediately the search box on Firefox gets the blue blinking light. I am then able to "add" the new search engine right there. However, I want to have links on this page where I describe the search engine's functionality. Clicking on the link should add the search engine. What should I do to create those links? Now it just opens up the xml file in the browser.

Revision Source

<h3 name="Privacy.3F">Privacy?</h3>
<p>At creating a OpenSearch plugin for Firefox 2.0 , I have to specify the a URL of the 
type="application/x-suggestions+json" where the search suggestions are stored.
</p><p>This causes that the search suggestions are stored on the server. 
If I do not like this, because of privacy:
</p><p>1) Can I prevent a plugin to store on a server as User of Firefox ?
</p><p>2) What ULR do I have to use, that these things are stored locally ?
</p>
<dl><dd>The "application/x-suggestions+json" URL in your plugin file has nothing to do with where suggestions are stored - it's the URL used to obtain the suggestions. These suggestions are displayed once and then discarded. These kinds of "suggestions" are different from the standard "history" results, which are stored in the user's profile, on disk. <a href="User:GavinSharp">gavin</a> 05:50, 31 October 2006 (PST)
</dd></dl>
<h3 name="Can_I_add_the_search_engine_by_clicking_on_a_link.3F">Can I add the search engine by clicking on a link?</h3>
<p>I created a few search engine XML files that work fine when I add them directly from the tool bar. That is, I go to the page where I have defined the auto discovery links to the XML files.  Immediately the search box on Firefox gets the blue blinking light.  I am then able to "add" the new search engine right there.  However, I want to have links on this page where I describe the search engine's functionality.  Clicking on the link should add the search engine.  What should I do to create those links?  Now it just opens up the xml file in the browser.
</p>
<ul><li> See <a href="en/Adding_search_engines_from_web_pages">Adding search engines from web pages</a>, which is linked to in the third paragraph of this article. <a href="User:GavinSharp">gavin</a> 10:54, 9 January 2007 (PST)
</li></ul>
Revert to this revision