Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Solution to questions asked' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Solution to questions asked
Authored by: aranor on Nov 07, '02 08:52:23PM

Ok, here's the solution to all questions asked:

user.js is NOT read by Chimera. The poster may have something special about their build, or something special about their prefs.js

prefs.js has to be edited while Chimera is NOT running.

The difference between user_prefs() and prefs() is that user_prefs() calls actually STAY in prefs.js (although they may be reordered) and prefs() calls do NOT stay. If you take those 3 calls asked about and change the prefs() to user_prefs(), they stay in the file. Except for the browser.chrome.site_icons one. I suspect that's because it's true by default, so there's no reason to write it out to file.

Favicons show up in the nav bar by default. They also show up in tabs by default. They do NOT show up in bookmarks by default.

If you add:

user_pref("browser.cache.disk.enable", false);
user_pref("browser.chrome.favicons", true);

to your prefs.js file while Chimera is NOT running AND leave a blank line at the end, they get remembered. I didn't list the browser.chrome.site_icons call here because, as I mentioned before, it doesn't get saved and I believe the default value is true.

I hope this answers all questions. Oh, and just for reference, these answers were all obtained via experimentation.



[ Reply to This | # ]
user.js IS read by Chimera
Authored by: frankko on Nov 07, '02 10:32:50PM

Interesting. My user.js file works. I took the following line from my Mozilla prefs.js file and added it to a newly created user.js file in my Chimera profile folder:

user_pref("dom.disable_window_move_resize", true);

It prevents sites from moving and resizing the current browser window (if it isn't obvious). Going to a site that tries to resize the browser window shows that, on my system, the user_pref is working. Quitting Chimera 0.6 and changing true to false, restarting Chimera, and going back to that site, the browser will resize.

So, for me, at least, user.js works fine.

I wonder if there is something that's keeping it from working for other people? I'm using 10.2.1. Chimera 0.6. I created the user.js file in BBEdit (Unix line breaks).



[ Reply to This | # ]
user.js IS read by Chimera
Authored by: aranor on Nov 08, '02 03:55:54PM

Ok, you're right.

user.js is read by Chimera.

BUT it only reads user_pref() lines, not pref() lines, which is why I thought it wasn't working before (I was using favicons to check, and the posted way to enable them in bookmarks was with pref() instead of user_pref() )

However, the weird thing is, when you run Chimera and quit it, the user_pref() lines in user.js get copied to prefs.js, so you can put them in user.js, run Chimera, quit, and delete user.js and your prefs still exist!



[ Reply to This | # ]
Solution to questions asked
Authored by: malvolio on Nov 07, '02 11:04:45PM

Yes, that works. I did it using your suggestion, and my cache folder is still totally empty.



[ Reply to This | # ]
working now
Authored by: poultryfarm on Nov 08, '02 01:34:12AM

it seems i had erased the line break the end. all is working now with normal prefs.js
thank you



[ Reply to This | # ]