1
edit
Changes
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''' ===