> Thanks for the tip on where the window#config line goes. Apparently so
> few people must be kiosking like us that this information doesn't
> quite get relayed correctly on the web.
>
> For the most part, I have a good amount of prefs locked down to keep
> even the most tenacious person from screwing up my Firefox installs
> but thanks for the offer. Realistically, removing access to Options
> menu works best but then it makes it bothersome to check if a pref
> lock-out works or not.
>
> Have you used the DOM Inspector to see if it might tell you how to
> figure out that drop-down menu issue? I tried to figure it out once
> but was unsuccessful.
>
> I had to re-do my config file from scratch the other day because
> something changed between Fx9 Beta 6 and 9 final. When I launched Fx 9
> final, it complained about an error in some line and was beyond vague.
> It took me around 5 hours of straight work to re-do it but in the
> process I discovered some settings I was still using were gone.
>
> - Thee Chicago Wolf [MVP]
I hadn't seen DOM inspector. Thanks, nice find.
I did finish modifications to my satisfaction this morning.
On earlier kiosk (which really was an internet kiosk) I forced full
screen and eliminated the panel on bottom so there was no way to
escape the browser which pulled up automatically upon system start.
This is actually not for a kiosk so full screen is not forced etc.
What I am doing is using DansGuardian with /squid proxy to prevent
certain sites from being accessed. So I needed to prevent access to
"preferences" (Called "options" in the Windows version but exactly the
same). In order to do this I eliminated the menu including the drop
down menu in tab bar. But before I did that, I set everything up the
way I wanted in normal preference (options) menu. I didn't have to use
about:config. although you could use that also. My changes included
network setup (through proxy), privacy options, file "save to" options
etc. I got rid of the drop down menu by un-checking "always show tab
bar" in "tabs" . There are no tabs, so this is not ideal, but its ok
for what I am doing. When everything was set up the way I wanted I
then copied userChrome.css and userContent.css files to the
user_profile\chrome (13i61gey.default ..the name is different for each
user). Placing these files eliminated the menu and eliminated access
to about:config when firefox restarted. Finally, I set the file
permissions for firefox user files to prevent non-root users from
being able to alter them. I don't think there is any way for ordinary
users to modify the settings now... at least I can't think of one.
This was on Linux but it should work exactly the same Windows.
Here are userChrome and userContent files I used if you are curious.
Best of luck.
_________
userChrome.css
*************************
/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome/
*/
/*
* This file can be used to customize the look of Mozilla's user
interface
* You should consider using !important on rules which you want to
* override default settings.
*/
/*
* Do not remove the @namespace line -- it's required for correct
functioning
*/
@namespace url("
http://www.mozilla.org/keymaster/gatekeeper/
there.is.only.xul"); /* set default namespace to XUL */
/*
* Some possible accessibility enhancements:
*/
/*
* Make all the default font sizes 20 pt:
*
* * {
* font-size: 20pt !important
* }
*/
/*
* Make menu items in particular 15 pt instead of the default size:
*
* menupopup > * {
* font-size: 15pt !important
* }
*/
/*
* Give the Location (URL) Bar a fixed-width font
*
* #urlbar {
* font-family: monospace !important;
* }
*/
/*
* For more examples see
http://www.mozilla.org/unix/customizing.html
*/
#file-menu, #edit-menu, #view-menu, #history-menu, #bookmarksMenu,
#tools-menu, #helpMenu {display: none !important;}
#urlbar > #urlbar-icons > #star-button {display: none !important}
#status-bar, #progress-bar {display: none !important}
________
userContent.css
*********
*
* Edit this file and copy it as userContent.css into your
* profile-directory/chrome/
*/
/*
* This file can be used to apply a style to all web pages you view
* Rules without !important are overruled by author rules if the
* author sets any. Rules with !important overrule author rules.
*/
/*
* example: turn off "blink" element blinking
*
* blink { text-decoration: none ! important; }
*
*/
/*
* example: give all tables a 2px border
*
* table { border: 2px solid; }
*/
/*
* example: turn off "marquee" element
*
* marquee { -moz-binding: none; }
*
*/
/*
* For more examples see
http://www.mozilla.org/unix/customizing.html
*/
window#config * { display: none ! important; }
__________________________