tag:tenfourfox.tenderapp.com,2012-01-07:/discussions/problems/8243-automatically-changes-default-search-engine-after-rebootTenFourFox: Discussion 2018-07-22T06:59:24Ztag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-03T05:16:28Z2016-12-03T05:16:28ZAutomatically changes default search engine after reboot<div><p>Hi their I use my machine everyday and try to help out here and
may have found the solution as it was defaulting to Yahoo for me I
use yahoo as my default and never came across this glitch sol I
just replicated everything and may have found a solution it worked
for me on 10.4.11.<br>
1. tenfourfox->preference->search<br>
2. remove google under one-click search engines<br>
3. click add more search engines<br>
4. on the add-ons page chose google default-> add to firefox<br>
5. back in preferences choose google as default search engine<br>
6. un-check provide search suggestions<br>
7. open new tab close out preferences tab and try a search in the
address bar.<br>
8. if search pulled up google close browser restart and google
should still be default.</p></div>Brian Szemontag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-03T05:43:32Z2016-12-03T05:43:33ZAutomatically changes default search engine after reboot<div><p>I worked on this for about an hour changing things in
about:config before simply trying the way I found that worked. I do
plan on making a YouTube video of how I did it but at last it's
0040 here and I need some rest tomorrow is another day. Try the
above if it works let me know if doesn't then maybe it's a
combination of this and setting i played with in about:config and
I'll post them but I'm sure it's not.</p></div>Brian Szemontag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-03T05:47:54Z2016-12-03T05:47:55ZAutomatically changes default search engine after reboot<div><p>I just tried this and Google seems to remain the default search
engine. So far it's working great! Thanks Brian!</p>
<p>Scott Novak</p></div>Scott Novaktag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-03T06:37:11Z2016-12-03T06:37:13ZAutomatically changes default search engine after reboot<div><p>You are very welcome Mr. Scott Novak I'm glad with a little work
I could find a fix.<br>
Cameron Kaiser and Chris (chtrusch) maybe we can make my fix a
sticky or something to help others. I'm not a coder but maybe their
is a way to take my fix and tweak some code inside the program, But
this is beyond me.</p></div>Brian Szemontag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-03T19:25:53Z2016-12-03T19:25:53ZAutomatically changes default search engine after reboot<div><p>Your suggestion is certainly a good workaround but I'd like to
better understand what went wrong. Before anyone tries this, please
look at <a href="https://tenfourfox.tenderapp.com/discussions/problems/8243-automatically-changes-default-search-engine-after-reboot/page/1#comment_41213284">
comments 26-28</a> and see if Brian's steps change the files
mentioned in those comments.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-04T20:19:29Z2016-12-04T20:20:37ZAutomatically changes default search engine after reboot<div><p>Hard to tell if my test of this workaround makes sense because
here in Europe, Google is the default search engine anyway, while
in the US it's Yahoo.</p>
<p>search-metadata.json still doesn't exist in a fresh profile and
isn't created by any of the actions taken as described in the
workaround.</p>
<p>After taking the steps described in the workaround, "Google
Default" seemed to stick as the default search engine. However,
after I had I applied my own STR, at the next restart "Google
Default" had vanished and "Google", which I had previously deleted,
was set as the default engine again.</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-04T22:53:07Z2016-12-04T22:53:08ZAutomatically changes default search engine after reboot<div><p>Also note that I rechecked "Provide search suggestions" and
Google still remains as my search engine when I restart
Tenfourfox.</p>
<p>For now all is well.</p>
<p>Scott</p></div>Scott Novaktag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-19T02:04:08Z2016-12-21T19:43:41ZAutomatically changes default search engine after reboot<div class="moz-cite-prefix"><br>
I created a new profile and found the same behavior that the others
report: The default search engine reverts to Yahoo once TenFourFox
is restarted. My old profile is able to retain Google as a default
search engine except for the occasional appearance of a random
search engine that I reported earlier.<br>
<br>
Here are the results of my investigation into this matter:<br>
<br>
My old profile contains the file, search-metadata.json, and in
prefs.js the following two lines are present:<br>
<br>
<blockquote>user_pref("browser.search.countryCode", "US");<br>
user_pref("browser.search.defaultenginename.US",
"Google");<br></blockquote>
<br>
After creating the new profile it did not contain
search-metadata.json, and of the two lines in the old profile's
prefs.js the new profile's prefs.js contained only the line:<br>
<br>
<blockquote>user_pref("browser.search.countryCode",
"US");<br></blockquote>
<br>
After starting TenFourFox with the new profile and changing the
default search engine to Google there were no pertinent changes in
the profile's directory -- no search-metadata.json and prefs.js was
still missing:<br>
<br>
<blockquote>user_pref("browser.search.defaultenginename.US",
"Google");<br></blockquote>
<br>
However, upon quitting TenFourFox the defaultenginename line
appeared in prefs.js. There was still no search-metadata.json. I
had not made any actual searches before quitting.<br>
<br>
With the next start of TenFourFox the default search engine
reverted to Yahoo, but the defaultenginename line with Google
remained in prefs.js. But then I did a search with the default
engine (Yahoo), and the defaultenginename line disappeared from
prefs.js. The line did not come back after quitting. After several
rounds of restoring defaultenginename with Google to prefs.js and
doing a search it became clear that executing a search removes the
defaultenginename line from prefs.js.<br>
<br>
Next, I copied search-metadata.json from my old profile to my new
profile and started TenFourFox with the new profile. The
defaultenginename line was absent from prefs.js. This time Google
was the default engine at start-up. And, defaultenginename with
Google had been restored to prefs.js. What's more, executing a
search did not remove defaultenginename from prefs.js. After
another restart of TenFourFox with my new profile Google remained
as the default search engine. However, as I wrote in my previous
message, Google continues to prompt with instructions to set Google
as the default search engine even though it <i>is</i> the default
search engine.<br>
<br>
As a final test I removed search-metadata.json from my new profile
and started TenFourFox again. Sure enough, the default search
engine reverted to Yahoo.<br>
<br>
So, the problem really seems to be that setting a default search
engine through TenFourFox->Preferences does not create
search-metadata.json. In case it matters, here's the contents of
search-metadata.json from my old profile:<br>
<br>
{"[app]/google.xml":{"used":1},"[global]":{"current":"Google","hash":"KB1ufxpDV5qKdqxokxHWgdlfdUWRoeRNA7A6cbg+C94="}}<br>
<br>
All that text was on one line. E-mail clients will undoubtedly mess
it up.<br>
<br>
Terrence Doyle<br>
<br>
On 12/3/16 1:25 PM, Cameron Kaiser wrote:<br></div>
<blockquote type="cite">pre { width: 92%; margin: 10px 2%; padding:
5px 2%; background: #efefef; border: 1px solid #d6d6d6 } blockquote
{ margin-left: 0; padding-left: 1em; border-left: 5px solid #ccc; }
<table width="100%">
<tr>
<td>
<p>// Please reply above this line<br>
==================================================</p>
<p><b>From</b>: Cameron Kaiser (Support staff)</p>
<div>
<p>Your suggestion is certainly a good workaround but I'd like to
better understand what went wrong. Before anyone tries this, please
look at <a href=
"https://tenfourfox.tenderapp.com/discussions/problems/8243-automatically-changes-default-search-engine-after-reboot/page/1#comment_41213284">
comments 26-28</a> and see if Brian's steps change the files
mentioned in those comments.</p>
</div>
<div>
<p>On Fri, Dec 02 at 10:37 PM PST, Brian Szemon wrote:</p>
<blockquote>
<div>
<p>You are very welcome Mr. Scott Novak I'm glad with a little work
I could find a fix.<br>
Cameron Kaiser and Chris (chtrusch) maybe we can make my fix
a sticky or something to help others. I'm not a coder but maybe
their is a way to take my fix and tweak some code inside the
program, But this is beyond me.</p>
</div>
</blockquote>
</div>
</td>
</tr>
<tr>
<td>
<p>Having trouble reading this? View this discussion online:
<a href=
"https://tenfourfox.tenderapp.com/discussions/problems/8243-automatically-changes-default-search-engine-after-reboot">
Automatically changes default search engine after reboot</a>.</p>
<p>Reply with #ignore to stop receiving notifications for this
discussion.</p>
</td>
</tr>
</table>
</blockquote>Terrence J. Doyletag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-21T22:46:03Z2016-12-21T22:46:03ZAutomatically changes default search engine after reboot<div><p>Terrence, that is very helpful. To others experiencing the
problem, if you recreate the file from an old profile, does that
fix it for you also? If so, I think I have a good guess what went
wrong now.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-22T13:42:30Z2016-12-22T13:42:30ZAutomatically changes default search engine after reboot<div><p>I cannot confirm this, sadly. I can still reproduce the bug
using my STR when an old search-metadata.json is present in a new
profile. The file doesn't even get touched when I change the
engine.</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-22T14:21:57Z2016-12-22T14:21:57ZAutomatically changes default search engine after reboot<div><p>What is touched, however, is search.json.mozlz4, as soon as I
switch the engine. It's also the last thing in the profile that's
written to in the startup sequence if the engine has been changed
during the last session.</p>
<p>If I change the engine, then quit TFF, then duplicate this file
and rename the duplicate search.json.mozlz4.tmp (else TFF would
create the temp file if it sees that it cannot write to
search.json.mozlz4 at startup), then <em>lock</em> both of these
files, then start TFF, the changed search engine sticks even when I
use my STR repeatedly.</p>
<p>Therefore the engine must be saved in search.json.mozlz4 and be
overwritten somehow at startup with the default engine.</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-23T00:48:23Z2016-12-23T00:48:24ZAutomatically changes default search engine after reboot<div><p>Did not work for me ether, Although Chris's fix dose work so
everything would seem to point at that "search.json.mozlz4" file
being overwritten somehow after restart.</p></div>Brian Szemontag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912016-12-23T08:40:45Z2016-12-23T08:40:45ZAutomatically changes default search engine after reboot<div><p>The LZ4 connection does make sense: we already know that the LZ4
module doesn't work properly on PowerPC for some reason (bookmark
backups, for example).</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-03-30T15:54:09Z2017-03-30T15:54:09ZAutomatically changes default search engine after reboot<div><p>I made a speculative fix to the beta version of 45.9 that goes with that theory (that LZ4 is responsible). Chris can no longer replicate this problem with this build. I'd appreciate others testing it, since none of our local test systems show the issue and I have no other way of verifying this is actually the problem.</p>
<p><a href="http://tenfourfox.blogspot.com/2017/03/4590b1-available.html">http://tenfourfox.blogspot.com/2017/03/4590b1-available.html</a></p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-04-03T21:11:01Z2017-04-03T21:11:02ZAutomatically changes default search engine after reboot<div><p>I tried 45.9-beta with a new profile. This time Google stuck as my<br>
default search engine. So, the problem really seems to be fixed.<br>
However, Google still pops up an annoying box saying, " Get to Google<br>
faster. Switch your default search engine to Google." Maybe we need to<br>
explain the fix to Google :).</p>
<p>Terrence Doyle</p></div>Terrence J. Doyletag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-04-03T23:15:53Z2017-04-03T23:15:53ZAutomatically changes default search engine after reboot<div><p>Good.</p>
<p>Just remember that this is the same company that wants us all to switch to Chrome, and then says our systems aren't supported. 8-)</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-19T01:50:11Z2017-06-19T01:50:13ZAutomatically changes default search engine after reboot<div><p>We're still having this problem in 45.9 but it only started happening recently. Did anyone come up with a comprehensive way to fix this? BTW I'm trying to set the default to DuckDuckGo which doesn't have a "Default" engine like Google does.<br>
dan h<br>
portland or</p></div>Dan Handelmantag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-20T21:16:23Z2017-06-20T21:16:23ZAutomatically changes default search engine after reboot<div><p>The fix is in 45.9. I'm using Google as the default, but it hasn't<br>
strayed since I installed Cameron's fix.</p>
<pre>
<code>I'm not quite sure what you mean by DuckDuckGo "doesn't have a</code>
</pre>
<p>'Default' engine like Google does." DuckDuckGo is just another choice among search engines which can be set as your default search engine. If<br>
you've truly set DuckDuckGo as your default search engine, and the<br>
setting reverts to Yahoo, try creating a new profile. Then, if setting<br>
your default search engine to DuckDuckGo sticks in the new profile, your<br>
old profile may be corrupt.</p>
<pre>
<code> Terrence Doyle</code>
</pre></div>Terrence J. Doyletag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-25T20:17:55Z2017-06-25T20:17:58ZAutomatically changes default search engine after reboot<div><p>I'm still experiencing this on FPR 1. Same configuration as OP: iBook G4, 10.5.8</p>
<p>Nothing makes search settings save; every time I close TFF and re-open, it's back to Yahoo Search. This occurs even when I delete all search engines from the "One-click search engines" list and add in "Google (Default)" as the sole search engine.</p>
<p>Something is making this browser restore the default list of One-click search engines every time it launches.</p>
<p>If there's a workaround or a file I can make read-only to force the settings to save, please let me know; otherwise, I think this issue just needs to be investigated further.</p></div>Eriktag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-26T03:01:29Z2017-06-26T03:01:29ZAutomatically changes default search engine after reboot<div><p>Just a reminder for people: as the release notes for 45.9 said, where the speculative fix was first deployed, you may need to start with a clean profile for the setting to stick -- for some users their profile was not able to be automatically fixed and we don't know why. You can try creating a clean profile with the profile manager and seeing if that works (see the FAQ for instructions). If it does, export your bookmarks and any necessary settings and add-ons and load them into the new profile. If it doesn't, please note that here, though I don't have other suggestions right now and I've still never been able to replicate it on the test systems.</p></div>Cameron Kaisertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-26T04:28:46Z2017-06-26T04:28:47ZAutomatically changes default search engine after reboot<div><p>I installed 45.9.0 and I was able to set Google as my search engine without any problems. I haven't had any problems.<br>
Powerbook G4 1.5 GHZ 10.5.8</p>
<p>Scott</p></div>Scott Novaktag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-06-26T13:06:27Z2017-06-26T13:06:27ZAutomatically changes default search engine after reboot<div><p>How ironic that my AirPort WiFi card went kaput before the patch for the bug was released. Glad I reported the bug though, and glad it's working (at least to my understanding).</p></div>maxtag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-07-30T03:29:54Z2017-07-30T03:29:56ZAutomatically changes default search engine after reboot<div><p>Thanks to all for working these threads on the search pref.<br>
Just rolled to 45.9.0 (G5/quad, 10.5.8) with existing profile and all is well.<br>
Yay.</p></div>RocketRanchertag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-12-12T17:27:10Z2017-12-12T17:27:11ZAutomatically changes default search engine after reboot<div><p>I am having this problem again in FPR 4. TenFourFox defaults to Yahoo every time it is restarted, in spite of having the Default Search Engine add-on installed and set to Google, and in spite of having google set as my default search engine in Preferences!</p>
<p>Machine Info:<br>
Model Name: Power Mac G4<br>
Model Identifier: PowerMac3,6 Processor Name: PowerPC G4 (3.3) Processor Speed: 1.25 GHz Number Of CPUs: 2 L2 Cache (per CPU): 256 KB L3 Cache (per CPU): 2 MB Memory: 2 GB Bus Speed: 167 MHz Boot ROM Version: 4.4.8f2 Serial Number (system): XB40905UQ6P Hardware UUID: 00000000-0000-1000-8000-000A95CFC548</p></div>Michaeltag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912017-12-18T18:50:31Z2017-12-18T18:51:30ZAutomatically changes default search engine after reboot<div><p>Michael, I think you're seeing a different problem. What we had originally was the browser changing the default engine by itself (i.e. no related add-ons installed), and this problem has been fixed. I cannot replicate the old bug with FPR4.1 using the STR I posted in this thread. Please try uninstalling the add-on you're using and then set up the default engine again. If this doesn't work you may have to resort to what's described in comment #50.</p></div>Chris (chtrusch)tag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912018-04-05T02:55:07Z2018-04-05T02:55:08ZAutomatically changes default search engine after reboot<div><p>I'm using the latest version of TFF, FPR6 (SPR1). On Max OS X 10.4.11 on a powerbook G3 in the United States. This just happened to me, it reverts to yahoo after tenfourfox is opened. I replicated it twice.</p></div>Joeytag:tenfourfox.tenderapp.com,2012-01-07:Comment/409675912018-04-06T19:37:32Z2018-04-06T19:38:12ZAutomatically changes default search engine after reboot<div><p>Joey, the only thing in this case I can do is refer you to comment #50 in this thread.<br>
<a href="https://tenfourfox.tenderapp.com/discussions/problems/8243-automatically-changes-default-search-engine-after-reboot#comment_42843719">https://tenfourfox.tenderapp.com/discussions/problems/8243-automati...</a></p></div>Chris (chtrusch)