I want to resize the default window size
I teach online and my send/submit buttons are at the bottom of each page. When a page opens in a child window, it opens too big, so that the button is below my lower toolbar. I have to re-size the window every time to operate.
Svi odgovori (1)
Firefox usually only opens a window in a pop-up window if there are dimensions for a window specified.
You can either choose to open that window in a tab instead and disable the advanced JavaScript that allows websites to set windows dimensions to avoid changing your current window.
Tools > Options > Content : JavaScript > Advanced > Allow Scripts to: [] "Move or resize existing windows"
- http://kb.mozillazine.org/Prevent_websites_from_disabling_new_window_features
- http://kb.mozillazine.org/JavaScript#Advanced_JavaScript_settings
See this on how to divert window.open() calls to a tab: