MozillaZine

where did the search settings go

Discuss building things with or for the Mozilla Platform.
mcdavis

User avatar
 
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post Posted February 15th, 2015, 11:22 pm

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

smsmith
Moderator

User avatar
 
Posts: 19713
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted February 16th, 2015, 4:59 am

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.

mcdavis

User avatar
 
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post Posted February 16th, 2015, 9:06 am

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

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted February 16th, 2015, 9:57 pm

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/

mcdavis

User avatar
 
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Post Posted February 17th, 2015, 9:53 pm

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

Return to Mozilla Development


Who is online

Users browsing this forum: No registered users and 2 guests