Changes

Jump to: navigation, search

Localized Search in Firefox Search Box

200 bytes added, 12:41, 11 February 2008
m
'''Patch File'''
-
- if (hidden)
+ // Use the nsIBrowserSearchService to "Add" the search engine plugin if
+ // it is NOT already on the search engine list and then add it to the
+ // searchbar's array of "hidden" engines.
+ if (!searchService.getEngineByName(engine.title)) {
+ searchService.addEngine(engine.href, Components.interfaces.nsISearchEngine.DATA_XML, iconURL, false);
</pre>
 
=== '''Code Modifications''' ===
1
edit

Navigation menu