Figured out how to add a search engine to a browser from a webpage. It’s quite simple, some Javascript and an OpenSearch XML description of the search engine. I took Kennisnet Search engine Davindi as an example.
Add Davindi as search engine
I tested it on Firefox, Chrome and IE7.