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?
There are two different questions:
1. Setting window sizes -
window.open .Firefox resizeTo.
2. -
. , . - , . .
@Shog9, window.resizeTo.. , , , , . Liquid layouts .
, .
?! , - - . , FF , .
, window.open, ... , /, , .
window.open
Argh, , : ( ) ( , Firefox!).
, , - . /. , , - .
( !) , div, . , .
, , window.open - LightWindow - , . http://www.stickmanlabs.com/lightwindow/
, , , .
, -.
, , " ", .
, 17 , 1600 , - - , , , 300 .
- /// .
- greasemonkey script, .
. .
- , 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
Firefox , window.resizeTo, . http://kb.mozillazine.org/Resizing_oversize_window#JavaScript_no_longer_allowed_to_resize_windows
Firefox: http://www.howtogeek.com/howto/internet/firefox/disable-web-site-window-resizing-in-firefox/
JavaScript , , Firebug. Firebug Firefox, window.resizeTo . . : https://bugzilla.mozilla.org/show_bug.cgi?id=565541#c47
, , , . . , / . , , . , . resizeTo , , ( ). , . , .
Source: https://habr.com/ru/post/1698057/More articles:System.NotSupportedException error in compact pictureBox control. How to make image button in compact framework? - windows-mobileWill reassigning a variable at each iteration of the loop affect performance? - javaHow to install a patch using Visual Studio? - windowsThe most efficient way to collect wifi bssid and rssi data on many Windows platforms - windowshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1698056/how-do-i-stop-visitors-directly-accessing-the-directories-in-my-website&usg=ALkJrhjJtt_wOPl36vvfAwEbh3DfpRBKKQHow to change default browser in Expression Blend - silverlightМожно ли ограничить стандартные потоки доступными для Linux на уровне процесса? - linuxHow to avoid screen flickering when a control needs to constantly redraw to C #? - c #What is a good way to learn Java? - javaОптимизация Flex при использовании нескольких модулей - optimizationAll Articles