I would like the user can not drag the surrounding line of browser and resize the browser when the window size is less than 200 px;
//if ($(window).height > 2
There's no way to control whether the user can resize or move the browser window from Javascript.
..imagine the problems you'd have with popups and spam ads if you could (!)
It's seems that medium is doing it: https://medium.com
If the browser lets you do window.resizeTo(w,h), than you can set it. BUT modern day browsers normally disable that method by default.