How to change the new window size

I've changed the default screen size to 1280*720(window1), but when i use
HTML:
window.open("tree/666.html");
the new pop-up window's size is the default screen size 816*624.

I need the size 1400*720, so I use script
HTML:
window.open("tree/666.html","width=1400,height=720");
but it didn't work out.

Can anyone help? Thanks!

problem.png

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-new-window-size.87860/