Open main menu

CDOT Wiki β

Changes

Localized Search in Firefox Search Box: Release v.03

892 bytes added, 00:04, 29 February 2008
m
no edit summary
= '''Release v.03''' =
This release (v.03) dynamically removes the auto-detected search engine when the user navigates to a different web site unless the user selects the "Add <Search Engine>" menu item from the searchbar's list of available engines to install the search engine. For example, the auto-detected search engine is dynamically added and appears as the current engine when the user navigates to a site with an [http://developer.mozilla.org/en/docs/Creating_OpenSearch_plugins_for_Firefox#OpenSearch OpenSearch] plugin. The engine can be used immediately to search the site without the user having to manually "Add" it. When the user clicks the searchbar's button to display the engine list, the dynamically "Added" search engine is then put on the list of engines as an "Add <Search Engine>" menu item . At that point, the user can choose to manually "Add" the auto-detected search plugin and it will remain on the list of installed engines when the user navigates to another web site.
== '''How to Use the Patch(Screenshots)''' ==
1. Copy and paste all of the text from the [[#Patch File - localsearchpatch_v032.txt | patch file]] into a text file and name the file localsearchpatch_v031.txt. Save the file to your root mozilla directory. Then, [[Localized Search in Firefox Search Box: Release v.01#Applying the Patch | apply the patch and recompile]] your mozilla source code as described in the release v.01 notes.
3. Notice that the search plugin has been dynamically loaded and added to the searchbar's list of installed engines. The newly added search engine appears as the current engine and it can be used to search the web site[[Image:FFLocalSearchv03_ss01.png]]
4. Click Firefox's searchbar button to display * Notice that the list of search engines. Observe that the plugin has been dynamically loaded search plugin is no longer on and added to the searchbar's list of installed engines and it is now listed . The newly added search engine appears as an "Add <Search Engine>" menu item. If you opt to "Add" the current engine back and it can be used to search the list of installed engines, it will remain as an installed engine when you navigate to a different web site.
53. Open the Search Engine ManagerClick Firefox's dialog and "Remove" searchbar button to display the dynamically "Added" list of search engineengines. Notice Observe that it the dynamically loaded search plugin is no longer on the list of installed engines and it is now listed as an "Add <Search Engine>" menu item. If you choose to "Add" the engine back to the list of installed engines, it will remain as an installed engine when you navigate to a different web site.
6[[Image:FFLocalSearchv03_ss05. Navigate png]]  * '''NOTE:''' If you opt to manually "Add" the engine to the list of installed engines, it will remain as an installed engine when you navigate to a different web site that offers a search engine plugin and then . That is its normal behavior.   4. Navigate to a different web site that does NOT offer a search plugin. Observe that the dynamically "Added" search engine is no longer on the searchbar's list.  [[Image:FFLocalSearchv03_ss00.png]]  5. Navigate to a web site with an OpenSearch plugin and manually "Add" the search engine.  [[Image:FFLocalSearchv03_ss05.png]]  * '''NOTE:''' The manually added engine will NOT be dynamically removed from the installed engines list on the searchbar when the user navigates to a different web site.  [[Image:FFLocalSearchv03_ss06.png]]  6. Open the Search Engine Manager's dialog and "Remove" a manually "Added" search engine.  [[Image:FFLocalSearchv03_ss07.png]]  * Notice that it is no longer on the list of installed enginesand it is now listed as an "Add <Search Engine>" menu item; that is its normal behavior. If you choose to "Add" the engine back to the list of installed engines, it will remain as an installed engine when you navigate to a different web site.  [[Image:FFLocalSearchv03_ss08.png]] 
1
edit