Changes

Jump to: navigation, search

Localized Search in Firefox Search Box

799 bytes added, 15:27, 2 February 2008
Added How to remove the patch and Files sub-sections.
=== '''Downloading and applying the patch:''' ===
1. Download the [http://zenit.senecac.on.ca/wiki/index.php/Image:Localsearchpatch_v01.txt.zip patch file] to the root mozilla directory of your source tree and unzip the file there. I suggest renaming the file localsearchpatch_v01.txt.
</pre>
 === '''How to use the patch:''' ===
1. Navigate to a web site that offers a search engine plugin:
* '''Note''' the DIAGNOSTIC MESSAGES in the terminal window.
 
 
=== '''How to remove the patch''' ===
 
* You can back-out a patch by using the patch command with the -R or --reverse option. This swaps the new file with the old one to reverse the patch.
 
<pre>
$ cd mozilla
$ patch -R -p0 < localsearchpatch_v01.txt
</pre>
[https://addons.mozilla.org/nl/firefox/addon/3544 SearchLoad Options :: Firefox Add-ons]
 
== '''Files''' ==
 
[http://mxr.mozilla.org/firefox/source/browser/base/content/browser.js browser.js]
 
[http://mxr.mozilla.org/firefox/source/browser/components/search/content/engineManager.js engineManager.js]
 
[http://mxr.mozilla.org/firefox/source/browser/components/search/nsIBrowserSearchService.idl nsIBrowserSearchService.idl]
 
[http://mxr.mozilla.org/firefox/source/browser/components/search/nsSearchService.js nsSearchService.js]
 
[http://mxr.mozilla.org/firefox/source/browser/components/search/content/search.xml search.xml]
 
1
edit

Navigation menu