Regarding protecting screen width and height, on firefox you can use privacy.resistFingerprinting.letterboxing (the tor browser has that enabled by default)
Where does one find out about these random about:config values that don't exist by default? Thought I'd enabled all privacy.resistFingerprinting.* settings, but it turns out there's at least one that I'd never heard of. How much other functionality does Firefox have that is completely undiscoverable?
I thought this could be solved with a privacy wizard-style add-on, but WebExtensions aren't allowed to modify Firefox settings.
Search the addon store for "Privacy Settings", it does just that. It's a good way to quickly toggle privacy settings should they impact a site's functionality.