Compare Revisions

Adding search engines from web pages

Revision 93166:

Revision 93166 by Mgjbot on

Revision 93167:

Revision 93167 by toru83 on

Title:
Adding search engines from web pages
Adding search engines from web pages
Slug:
Adding_search_engines_from_web_pages
Adding_search_engines_from_web_pages
Tags:
Add-ons, "Search plugins"
Add-ons, "Search plugins"
Content:

Revision 93166
Revision 93167
n8      Firefox allows JavaScript code to install search engine plun8      Firefox allows JavaScript code to install search engine plu
>gins, and supports two search engine plugin formats: <a href="en/>gins, and supports two search engine plugin formats: <a href="/en
>Creating_OpenSearch_plugins_for_Firefox">OpenSearch</a>, and Sher>/Creating_OpenSearch_plugins_for_Firefox" title="en/Creating_Open
>lock.>Search_plugins_for_Firefox">OpenSearch</a>, and Sherlock.
n11      <b>Note:</b> Starting with Firefox 2, OpenSearch is the pren11      <strong>Note:</strong> Starting with Firefox 2, OpenSearch 
>ferred search format for Firefox.>is the preferred search format for Firefox.
n16    <h2 name="Installing_OpenSearch_plugins">n16    <h2 id="Installing_OpenSearch_plugins" name="Installing_OpenS
 >earch_plugins">
n23window.external.AddSearchProvider(<i>engineURL</i>);n23window.external.AddSearchProvider(<em>engineURL</em>);
n26      Where <i>engineURL</i> is the absolute URL to the XML file n26      Where <em>engineURL</em> is the absolute URL to the XML fil
>for the search engine plugin.>e for the search engine plugin.
n29      <b>Note:</b> OpenSearch support is available only in Firefon29      <strong>Note:</strong> OpenSearch support is available only
>x 2 and later.> in Firefox 2 and later.
n31    <h2 name="Installing_Sherlock_plugins">n31    <h2 id="Installing_Sherlock_plugins" name="Installing_Sherloc
 >k_plugins">
n38window.sidebar.addSearchEngine(<i>engineURL</i>, <i>iconURL</i>, n38window.sidebar.addSearchEngine(<em>engineURL</em>, <em>iconURL</e
><i>suggestedName</i>, <i>suggestedCategory</i>);>m>, <em>suggestedName</em>, <em>suggestedCategory</em>);
n46      <li>The <code>suggestedName</code> parameter is only used wn46      <li>The <code>suggestedName</code> parameter is only used w
>hen prompting the user for permission to install the plugin, so t>hen prompting the user for permission to install the plugin, so t
>hat a message such as "Do you want to install <i>suggestedName</i>hat a message such as "Do you want to install <em>suggestedName</
>> from <i>engineURL</i>?" can be displayed.>em> from <em>engineURL</em>?" can be displayed.
n54    <h2 name="Browser_search_engine_capability_detection">n54    <h2 id="Browser_search_engine_capability_detection" name="Bro
 >wser_search_engine_capability_detection">
n61      <br>n61      &nbsp;
tt79    <p>
79    <div class="noinclude"></div>{{ languages( { "ca": "ca/Addici80      {{ languages( { "ca": "ca/Addici\u00f3_de_motors_de_cerca_a
>\u00f3_de_motors_de_cerca_a_les_p\u00e0gines_web", "es": "es/A\u0>_les_p\u00e0gines_web", "es": "es/A\u00f1adir_motores_de_b\u00fas
>0f1adir_motores_de_b\u00fasqueda_desde_p\u00e1ginas_web", "fr": ">queda_desde_p\u00e1ginas_web", "fr": "fr/Ajout_de_moteurs_de_rech
>fr/Ajout_de_moteurs_de_recherche_depuis_des_pages_Web", "it": "it>erche_depuis_des_pages_Web", "it": "it/Installare_plugin_di_ricer
>/Installare_plugin_di_ricerca_dalle_pagine_web", "ja": "ja/Adding>ca_dalle_pagine_web", "ja": "ja/Adding_search_engines_from_web_pa
>_search_engines_from_web_pages", "pl": "pl/Dodawanie_wyszukiwarek>ges", "pl": "pl/Dodawanie_wyszukiwarek_z_poziomu_stron_WWW", "zh-
>_z_poziomu_stron_WWW", "zh-tw": "zh_tw/\u81ea\u7db2\u9801\u6dfb\u>tw": "zh_tw/\u81ea\u7db2\u9801\u6dfb\u52a0\u641c\u5c0b\u5f15\u64c
>52a0\u641c\u5c0b\u5f15\u64ce" } ) }}>e" } ) }}
81    </p>

Back to History