Remove the default browser header and footer when printing HTML
问题 I got an HTML with the <body onload=\"window.print()\"> . The question I\'m trying to ask is: Is there any way to remove the strings that the web browsers add to the printed page? Such as: Web site from where the page was printed Page count Title of the web page Date of printing 回答1: Google Docs is now skirting around this issue by generating a PDF version of your document. If you are using Chrome, it will automatically open the PDF in a new tab and pop up the print dialog. Other browsers