K-Meleon
 

Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development

SourceForge Logo
Spam Chongqed

 

 

 

 

 

 

K-Meleon

Documentation - Reference - Mozilla Preferences

This page list some of the Mozilla preferences used by K-Meleon. As K-Meleon uses the same rendering engine, Gecko, as Mozilla, some of the preferences defined by Mozilla can also be set in K-Meleon. A few of these preferences are set in the prefs.js file located in the user profile directory. However, the majority of these preferences are not defined for K-Meleon. This list of preferences is intended to provide a reference for advanced users of K-Meleon who wish to further customize the Mozilla preferences in K-Meleon. Preferences that are defined in the Preferences section are not included.

For more information on modifying these preferences, see the help guide on Customizing Preferences.

The Mozilla preferences are defined using the user_pref function. They follow one of these formats:

Preference Example
user_pref("Preference Name","string value"); user_pref("font.name.serif.x-western", "Georgia");
user_pref("Preference Name", numerical value); user_pref("browser.display.use_document_fonts", 0);
user_pref("Preference Name", boolean value); user_pref("browser.underline_anchors", false);

Note: These preferences are Mozilla defined preferences. The prefs.js file contains additional preferences, some that can be set through the Preferences dialog, that are defined specifically for K-Meleon. A list of the K-Meleon Specific Preferences is available.

Preference Name Value Description
Browser Display
browser.display.background_color #RRGGBB Defines the color used for the background of web pages when the color is not defined by the page. RRGGBB equals the RGB code to define the color desired.
browser.display.use_document_colors true/false Defines whether the browser uses the colors specified in the web page for display. Set to true to allow web pages to use colors specified in page.
browser.display.use_document_fonts 0, 1 Defines whether the browser uses the fonts specified in the web page for display. Set to 1 to allow web pages to use fonts specified in page.
browser.display.use_system_colors true/false Defines whether the browser uses the system colors to display web pages. Set to true to use system colors.
browser.visited_color #RRGGBB Defines the color used for visited links on web pages when the color is not defined by the page. RRGGBB equals the RGB code to define the color desired. See this page for more information.
browser.underline_anchors true/false Defines whether links on web pages are underlined. Set to true to underline links.
font.default serif/sans-serif Defines the default font style used by K-Meleon to display text on web pages.
font.name.serif.x-western Font Name Sets the font used to display text as defined by the web page for western serif font. Examples would include: Times New Roman and Georgia.
font.name.sans-serif.x-western Font Name Sets the font used to display text as defined by the web page for western sans-serif font. Examples would include: Arial and Verdana.
font.size.variable.x-western A number Sets the font size, in pixels, used to display text as defined by the web page for western variable font. Default size is 16 pixels.
font.size.fixed.x-western A number Sets the font size, in pixels, used to display text as defined by the web page as western fixed text. Default size is 13 pixels.

Last updated: October 30, 2001
Created: September 30, 2001

(c) 2000-2001 kmeleon.org. All rights reserved.
design by splif.