Closed Bug 286241 Opened 20 years ago Closed 19 years ago

Window resizes on javascript demand

Categories

(Firefox :: General, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: enos, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; sv-SE; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; sv-SE; rv:1.7.6) Gecko/20050226 Firefox/1.0.1

There should be an option in the "options" to disable the following javascript
LeftPosition = (screen.width) ? (screen.width-(400+98))/2 : 0;
TopPosition = (screen.height) ? (screen.height-400)/2 : 0;
window.resizeTo(400+98, 400);
window.moveTo(LeftPosition, TopPosition);

A lot of sites use this code to resize the browser to fit the page, this is,
however, very annoying if you use tabbed browsing .. since all the sessions are
resized.

Reproducible: Always
William, please go to Options->Web Features and click on the "Advanced" button
next to "Enable Javascript". In the dialog that opens, the first option should
be "Move or resize existing windows". Is this option checked or unchecked? Does
unchecking it fix your issue?
Resolved "there should be, there is, and in 1.5 it looks like it will be on by
default"
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.