Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I get the CSS and source for the print version of a document?

  • No replies
  • 1 has this problem
more options

Many sites use a media query to provide different CSS for printed output.

For debugging and comparison purposes, it would be useful to retrieve the CSS and HTML that are producing the preview output I see in Firefox's internal print dialog. (This is especially challenging for sites that use JavaScript extensively to serve content.)

How can I accomplish this? (I'm using 89.0.2 (64-Bit) on Linux.)

Attached screenshots

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.