Mozilla Plugins
From Fukudat
Plug-ins for Mozilla/Firefox Web browser.
Contents |
Search Plugins
Samples
The following are sample plug-ins. The source code is readable in XML-like text, so you can customize them or create a new one very easily. Please note that some of them are for IBM intranet and useless for non IBM people.
- Image:Fukudat-search.gif fukudat.com search install (source)
- Image:Dblp-search.gif DBLP (a digital library for the database systems research community) install (source)
- Image:W3-ibm-search.gif IBM intranet Search (for IBMer only) install (source)
- Image:W3-ibm-bluepages.gif IBM BluePages Search (for IBMer only) install (source)
Creating Your Own Search Plug-ins
To create a new plugin, just open your favorite text editor and type in the following fragment of code to a file.
# comment # created by fukudat <search name="NAME OF PLUGIN" sourceTextEncoding="0" description="DESCRIPTION OF SEARCH PLUGIN" action="http://SEARCH-SERVER/PATH" method="GET" queryEncoding="UTF-8" queryCharset="UTF-8" > <input name="q" user> <input VARIABLE1 value="VALUE1"> <input VARIABLE2 value="VALUE2"> </search> <browser update="http://PLUGIN-SERVER/PATH" updateIcon="http://PLUGIN-SERVER/ICON-PATH" updateCheckDays="7" >
You also need an icon of 16 pixels by 16 pixels in gif, png, or jpg format.
Installing Your Own Search Plugins
To install your plugin, just call the following piece of javascript:
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) {
window.sidebar.addSearchEngine(
"<URL of plugin source>",
"<URL of plugin icon>,
"<Name of plugin>",
"<Category of plugin>"
);
} else {
alert("Sorry, you need a Mozilla-based browser to install a search plugin.");
}
Uninstalling Search Plug-ins
Firefox search plug-ins are installed at C:/Documents and Settings/<USERNAME>/Application Data/Mozilla/Firefox/Profiles/<SOMETHING>.default/searchplugins (in Windows case). You can remove search plug-ins by just removing files in the directory and restarting Firefox.
Related Links
https://addons.mozilla.org/search-engines.php?application=firefox
