DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Firefox 16 search engine keywords stored where?  (Read 5,808 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Firefox 16 search engine keywords stored where?
« on: November 27, 2012, 07:33 PM »
I'm looking for an easy way to duplicate the search engine settings, including keywords for the location bar.  I can't find where they are stored.  I've looked through the xml files for the search entries themselves. But it doesn't store the keyword there.  I'd rather copy 'em over than keep typing them in every time I change one.

[attach]

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Firefox 16 search engine keywords stored where?
« Reply #1 on: November 27, 2012, 07:58 PM »
That setting seems to be stored in the profile directory in a file called search-metadata.json

I changed the alias for Google to 'gggggl', and this is how it's stored:
Code: (text)
{"[app]/google.xml":{"used":1,"alias":"gggggl"}}

It references the search definitions as found in {firefoxProgramFilesDir}/searchplugins (*.xml)
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Firefox 16 search engine keywords stored where?
« Reply #2 on: November 27, 2012, 08:52 PM »
Thanks. I thought I looked in there. Guess I didn't look closely enough. :)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Re: Firefox 16 search engine keywords stored where?
« Reply #3 on: November 27, 2012, 08:57 PM »
That worked.  Thanks.  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=33031.0