Can I resize the browser window?

前端 未结 4 1100
猫巷女王i
猫巷女王i 2020-11-29 07:02

I want to resize a browser popup window\'s width and height. I can set the popup window size but I want to convert the window size fit to contents size when a page is redire

4条回答
  •  佛祖请我去吃肉
    2020-11-29 07:41

    Whilst you might technically be able to do this, you really shouldn't. forcing the size of the browser window fundamentally changes the browsing experience for a user which isn't your place to do. Very bad practise and poor user experience.

    Edit: Interesting to still get comments on this, but to be clear this answer is 6 years old, which is an age in web development time. Rather than edit it in context or delete it, I would say that it is wise to investigate current web development UX practises.

提交回复
热议问题