I am trying to call window.resizeTo
but it is not working. I read somewhere that window.resizeTo
will not work until window.open
is called. Can I resize the window without calling window.open
using jQuery?
Asked
Active
Viewed 1,016 times
0

mikemaccana
- 110,530
- 99
- 389
- 494

Gardezi
- 2,692
- 2
- 32
- 62
-
https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo#Notes – Daniel A. White Feb 11 '16 at 14:46
-
1Check this linked post http://stackoverflow.com/questions/7602078/javascripts-window-resizeto-isnt-working – bngk Feb 11 '16 at 15:35
1 Answers
3
As you say, you cannot resize windows which you didn't create using window.open
. It is not possible in modern browsers, whether you use jQuery or not.

damd
- 6,116
- 7
- 48
- 77