Get Involved

SourceForge Logo
Spam Chongqed








Documentation - Customization - Search Engine Selection


This page explains how to change the search engine and query used by K-Meleon 0.7. This method also works with K-Meleon 0.6.


K-Meleon's default toolbar includes a search button that will submit a query from the browser to Google. The default query of Google is:


However, some people prefer to modify the query string sent to Google. Others may prefer to use a search engine other than Google. The query string submitted by the Search button on the toolbar can be modified to fit whatever search you prefer.

Note: Search queries supported by search engines may change over time. These examples are for demonstration purposes. If you have problems setting up your search query, review the help available at the search engine or post to the K-Meleon Forums.

Close K-Meleon before starting. If you are using the Loader, make sure that you exit that also.

1. Open Notepad or some other text editor.

2. K-Meleon's preferences are stored in a file called prefs.js. Prefs.js is normally located here:

C:\Program Files\K-Meleon\Profiles\default\xxxxxxxx.slt\

Browse to this location and open prefs.js in Notepad.

3. Move your cursor to the end of the file and add the following line:

user_pref("kmeleon.general.searchEngine", "URL");

where the URL = the search engine query you wish to use. For example:

user_pref("kmeleon.general.searchEngine", "http://www.google.com/search?q=");

or to search HotBot:

user_pref("kmeleon.general.searchEngine", "http://hotbot.lycos.com/?query=");

or to search Teoma:

user_pref("kmeleon.general.searchEngine", "http://www.teoma.com/search.asp?t=");

4. Save prefs.js and restart K-Meleon.

5. Click on the Search button on the toolbar and enter a query. Click on OK and watch K-Meleon search on the search engine and query of your choice.

Last updated: November 7, 2002
Created: April 6, 2002

(c) 2000-2001 kmeleon.org. All rights reserved.
design by splif.