diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js index c9b06d3e1ee3..595226e3dac5 100644 --- a/modules/libpref/src/init/all.js +++ b/modules/libpref/src/init/all.js @@ -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");