Add default values for the print.print_header* and print.print_footer*

prefs to all.js.  Bug 102620, r=rods, sr=shaver
This commit is contained in:
bzbarsky%mit.edu 2001-10-02 01:08:54 +00:00
parent 79b322f974
commit 2db7201caf

View File

@ -191,6 +191,22 @@ pref("browser.goBrowsing.enabled", true);
//Internet Search
pref("browser.search.defaultenginename", "chrome://navigator/locale/navigator.properties");
// Print header customization
// Use the following codes:
// &T - Title
// &U - Document URL
// &D - Date/Time
// &P - Page Number
// &PT - Page Number "of" Page total
// Set each header to a string containing zero or one of these codes
// and the code will be replaced in that string by the corresponding data
user_pref("print.print_headerleft", "&T");
user_pref("print.print_headercenter", "");
user_pref("print.print_headerright", "&U");
user_pref("print.print_footerleft", "&P");
user_pref("print.print_footercenter", "");
user_pref("print.print_footerright", "&D");
// Default Capability Preferences: Security-Critical!
// Editing these may create a security risk - be sure you know what you're doing
//pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");