List Info

Thread: Re: Firefox: Extra search engines




Re: Firefox: Extra search engines
user name
2007-02-18 22:26:10
On 2/15/07, Sebastian Pösterl <mardukk-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.ap
ps.firefox/browse_thread/thread/e7e080c3fd54803a/0abf30856a9
5d272#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!

Cheers,
Andrew
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list
Re: Firefox: Extra search engines
user name
2007-02-19 00:20:40
2007/2/19, Andrew Conkling < andrew.conklinggmail.com">andrew.conklinggmail.com>:
On 2/15/07, Sebastian Pösterl < mardukk-d-w.org">mardukk-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:
&quot;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
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )