How can I customize the header and footer in Firefox's print preview?
By default, the page title is displayed at the top left, the URL at the top right, the date at the bottom left, and the page numbers at the bottom right.
I used “about:config” to change the configuration in the fields “print.print_header” and “print.print_footer” to the values &T, &U, &PT, and &D according to my preferences, but the entries have no effect on the preview and the print result.
I have Firefox version 140.0.4 and Ubuntu 25.04 installed



print.tab_modal.enabledtofalseinabout:config? On Ubuntu, Firefox sometimes uses the system's print dialog instead of its own making the header/footer customizations less reliable.print.print_headerandprint.print_footerpreferences are no longer available in Firefox 140. Firefox now uses these six separate preferences for header and footer customization:print.print_headerleft print.print_headercenter print.print_headerright print.print_footerleft print.print_footercenter print.print_footerrightprint.tab_modal.enabledalways to "false". I've also heard that some preferences are no longer available in Version 140, but I can't believe that there is no workaround.print.show_page_setup_menutotrueinabout:configto restore the Page Setup dialog to the File menu?