Changing default view port for landing page

Hi,
I am looking for a functionality to let the website be on a default view port, when landed. like whatever the screen size is. when someone come to website,they should see specific target area. is there any way?

You want to resize the window?

No, there isn’t a way because it’s was abused for a long time and removed from browsers like Firefox.

You can use document.documentElement.clientHeight and document.documentElement.clientWidth to get the size of the window. But, there’s no way to set the browser for all browsers.