You do not need the Chrome extension for this, the developer tools already have such a built-in function.
- Open the developer tools ( F12 , Ctrl Shift I , ...).
- Click on the gear in the lower right corner.
- Click Overrides.
- Turn on "Device Metrics" and set "Screen Resolution" / "Font Scale" to the values ββyou need.
Examples (360x200 and 200x360, I did not increase or change the size of the screenshots):


Some predefined values ββcan be used when switching the user agent (above "Device Metrics"). If you want multiple custom values, create a Chrome extension using the chrome.debugger
API.
source share