Re: [Deskbar] Firefox: Extra search engines



2007/2/19, Andrew Conkling <andrew conkling gmail com>:
On 2/15/07, Sebastian Pösterl <marduk k-d-w org> wrote:
> Maybe you should ask on the Firefox mailing list.

A capital idea! A good discussion has started happening on the
mozilla-dev-apps-firefox list:
http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/e7e080c3fd54803a/0abf30856a95d272#0abf30856a95d272

Namely:
"I could see search plugin data are stored engine_data table of
*search.sqlite* sqlite db in the user's profile folder. You may have
to dig deeper to find more info."

I should have some time in the next few days to try to figure some of
this out, but I thought I'd mention it here for posterity.

Also, I posted to the forums first, though I don't expect to get any replies:
http://forums.mozillazine.org/viewtopic.php?t=520838

Hopefully we can make some headway on this!


First - thanks a ton for following up on this.

It was as I feared - the config is stored in a sqlite database. This means that deskbar (or the handler) would have to depend on sqlite Python bindings for the sole purpose of disabling ff2 search engines correctly. There probably isn't any guarantees as to the format of this db, so that is a bad thing in it self. On top of this it was also advised not to use the db while ff is running...

The only option as I see it is to write a ff extension that writes these settings out in a file and let the handler optionally detect this. Needless to say this sounds like a big round trip.

For reference; the query "SELECT engineid FROM engine_data WHERE name = 'hidden' AND value = 1" on search.sqlite should find the disabled engines.


Cheers,
Mikkel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]