I have a website which takes some weight from the user's shoulders
by fitting text in containers, changing the layout depending on the
amount, etc. Some functions react to window sizes and viewport size.
How do I make sure they run for the printer's media size?
And then, how do I stop some of those functions from running for
the printed version?