Window.resizeTo affects subsequent Firefox windows

I have a webapp that resizes its window to fit its contents exactly:

window.resizeTo(200,300)

People like the page to fit its window in this way. However, with Firefox, the next browser window that the user opens appears in the same size, which is ridiculously small.

Is there a way to tell Firefox to resize the current window, but not change its view of how large subsequent windows should be?

+3
source share
7 answers

There are two different questions:

1. Setting window sizes -

window.open .
Firefox resizeTo.

2. -

. , . - , . .

@Shog9, window.resizeTo.. , , , , . Liquid layouts .

+4

, .

?! , - - . , FF , .

, window.open, ... , /, , .

+4

Argh, , : ( ) ( , Firefox!).

, .

, , - . /. , , - .

( !) , div, . , .

+2

, , window.open - LightWindow - , . http://www.stickmanlabs.com/lightwindow/

+2

, , , .

, -.

, , " ", .

, 17 , 1600 , - - , , , 300 .

- /// .

- greasemonkey script, .

. .

+2

- , window.open - window.open('http://www.google.com ',' Test ',' width = 800, height = 800 '); Window.resizeTo Firefox - , . , -, Firefox window.open() Firefox 3.01, - http://tough-to-find.blogspot.com/2008/07/firefox-301-breaks-windowopen-width.html

+1
0

Source: https://habr.com/ru/post/1698057/


All Articles