where did the search settings go

Discuss building things with or for the Mozilla Platform.
Post Reply
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

where did the search settings go

Post by mcdavis »

In one of the newsgroup posting about add-on signings, Mike Connor said:

Search settings moved out of preferences last year to combat this, but
add-ons can do anything the UI can do. Home page and new tab will move to
that model this year.


Where did the search settings move to? How are they represented now?
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
smsmith
Moderator
Posts: 19979
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Re: where did the search settings go

Post by smsmith »

Tools -> Options -> Search?
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: where did the search settings go

Post by mcdavis »

I thought he was talking about some change in the underlying persistant storage, like it was no longer stored in about:config/prefs.js and was moved to some other kind of storage on disk. If he were talking about only the UI part, I'd consider a new pane in the Options window to be "in preferences", not "out of preferences", so I guess he doesn't mean that. But I don't know.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: where did the search settings go

Post by patrickjdempsey »

Instead of storing the selected search engine in a preference in prefs.js, they migrated it to search-metadata.json. If you are using the factory default (which varies based on your locale) then the selection is not stored. If you have a different setting for the default, then the engine is stored in search-metadata.json with a hash value based on the directory structure of the profile. This makes the value non-portable and it means you can no longer change the search engine at all from the profile, it can only be done by the user through the Options interface, or through an API which Mozilla presumably has flagged via AMO reviews. The Addons Validator and the future Signing mechanism will no doubt block any extension attempting to change the default search engine. I guess Yahoo had some pretty tall stipulations that came with their money.

Both the new search engine scheme and signed addons seem like they are going to hurt deployed installs... not sure if there are workarounds available for corporations.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: where did the search settings go

Post by mcdavis »

Thanks, great answer.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
Post Reply