How can I customize Firefox's search engines?
Solution 1:
This is off-topic, but thanks for the anonymous search engine DuckDuckGo.
You can use this opensearch Mycroft Project.
It has everything already created just enter the values into textbox and and you have the XML code.
You can also submit your website search engine here.
OR
Here are the steps:
Need to create an XML file which will contain information about search engine like ShortName, Description, URL etc. Example of XML file here
Give a name to that XML file and put it here:
%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\searchplugins
or here:
%PROGRAM_FILES%\Mozilla Firefox\searchplugins
- Modifying FireFox preferences file:
%APPDATA%\Mozilla\Firefox\Profiles\XXXXXXXX.default\prefs.js
Simply add/modify this line:
user_pref("browser.search.selectedEngine", "engine_name");
No needing to modify SQLite database file manually. New search engine will be added automatically after restarting FireFox.
Source