Thanks Dave. And where is a good place to put the javascript?
Code:
function addEngine(name,ext,cat)
{
if ((typeof window.sidebar == "object") && (typeof
window.sidebar.addSearchEngine == "function"))
{
window.sidebar.addSearchEngine(
"http://www.leo.org/dict/plugins/"+name+".src",
"http://www.leo.org/dict/plugins/"+name+"."+ext,
name,cat);
alert('Download completed');
}
else
{
errorMsg(name,ext,cat);
}
}