no resizable in popup window dont work in firefox

2019-08-29 03:20发布

问题:

i try to open new window with javascript window.open func,

and add 'resizable = no' parameter,

in ie its work , but in firefox it allow to resize

how can i block it in firefox ?

thanks.

回答1:

Popup window is always resizable in Mozilla, Opera.

Check this link:

The popup is always resizable in Mozilla, Opera and Konqueror. When making the popup resizable in Safari, actually resizing it makes the popup jump to a width of ca. 400px, which cannot be decreased.



回答2:

Try without spaces, if you don't do that already:

resizable=no


回答3:

Another try:

http://www.technipages.com/firefox-prevent-sites-from-disabling-window-resize.html

You can prevent it in firefox, do you have that on? I know I would.



回答4:

Did you consider it is really annoying for users not being able to resize their browser window? I would suggest you find another solution to whatever problem you're trying to solve.