OK this is for Windows FireFox Users You can do this on a linux box too just a few differences:
See the google search engine in the upper right hand corner of your firefox browser-many of you know that you can add engines to this such as ebay,dhl,wikipedia,etc. etc.
Simply by dropping down the box and choosing add engines....
Well you can add any engine you want as long as you know where to look,what to write and where to put it...
I decided to write my own for TechIMO and a few others, you can upload them to be shared & updated from mozdev by I don't know how to do that yet so, the update part of the code is commented out (meaning it don't work) until I figure out how to upload it or if that'd even be okay-right now its just kind of a personal hack you'll have to roll yourself...
Anyway here's the how to:
Obviously you've got firefox installed, most peoples installation is in this directory:
C:\Program Files\Mozilla Firefox\searchplugins
Navigate to this directory now.
Open up notepad
Copy and paste the following into notepad:
#
http://www.techimo.com/forum/search.php
# Mozilla/TechIMO.com plug-in by "Heatmiser"
# Updated by "Heatmiser" on July 18th 2005
<SEARCH
version = "7.1"
name="TechIMO"
description="TechIMO Search"
method="get"
action="http://www.techimo.com/forum/search.php"
>
<input name="q" user>
<interpret
browserResultType="result"
resultListStart="<!-- Content -->"
resultListEnd="For better results"
resultItemStart="<p>"
resultItemEnd="</p>"
>
</search>
<BROWSER
#update="http://www.mozilla.org/products/firefox/plugins/TechIMO.src"
#updateIcon="http://www.mozilla.org/products/firefox/plugins/TechIMO.gif"
#updateCheckDays="3"
>
Now, save the notepad file as TechIMO.src in this directory C:\Program Files\Mozilla Firefox\searchplugins
Meaning that you'll have to change the drop down box in the save as dialog to
"all files" otherwise your file will be called TechIMO.src.txt and it won't work until you take the .txt off the end.
Now you want a nifty lil icon right?
Go here and get it:
http://www.techimo.com/favicon.ico
Copy and save the image somewhere you can find it then convert it to a .png or .gif with your favorite image editor (save as TechIMO.gif or TechIMO.png to C:\Program Files\Mozilla Firefox\searchplugins)
If Firefox is open you'll need to close and restart it-so then when all that's done you'll be able to pull down the search menu select TechIMO and Search the forums....
You can also change the url in the action line to have it search other places name it differently.
http://mycroft.mozdev.org/submit.html
^
(this is actually the link to submit the plugin still decided not to upload it cause I don't own this website and don't wanna make anyone mad)
http://mycroft.mozdev.org/deepdocs/q...ml#firstplugin
^
This is where you can learn more about making your first plugin-there's alot of stuff still under development there that don't work yet just as a heads up.
Happy hackin'