It has nothing to do with how IE is "intricatel y tied to Windows".
Resizing browser windows can be disabled in Gecko-based browsers with the
following line in prefs.js: user_pref("dom. disable_window_ move_resize", true);
It can also be set by using "about
:conf ig" and adding a new Boolean, or though
the specific preferences UI of the Gecko-based browser (assuming it's exposed
in the UI). Gecko-based browsers are not "intricatel y tied to Windows" and in
fact run on several operating systems.
Resizing browser windows can be disabled in Opera 7+ by going to Tools >
Preferences.. > Multimedia > JavaScript options... > Allow resizing of
windows. Opera 7+ is not "intricatel y tied to Windows" and in fact runs on
several operating systems.
Disabling resizing or moving of browser windows is a function of the HTTP
client, in an attempt to protect the user from hostile Web authors who do not
know it is not polite to monkey around with the host operating system UI. But
understanding the facts is not nearly as much fun as taking an uninformed
potshot at Microsoft, which makes you appear "intelligen t" and
"knowledgeable" .
Bottom line, unless you have control over the user agent configuration (such
as in a corporate Intranet or an Extranet application where you can demand
your users conform to a particular configuration), do not expect to be able to
open new windows, if you can open new windows, do not expect them to be
separate windows on the desktop or have the chrome you specify (they may be
tabs in an existing application), even if you can open them with the chrome
you specify and as separate windows, do not expect that you can resize or
position them (or any existing window) like you want.
Kenneth Bergmann wrote:
SP2 denies access to a number of window methods (resizeBy() being one of
them) for security reasons. I'm not sure, but a signed script might help.
This is the price paid for having IE so intricately tied to Windows
operating system.
Ken
"eft0" <ef**@gmx.nospa m.net> wrote in message
news:56******** ********@jagger .tie.cl... I have a big problem after I install SP2 in XP Box, some functions -
window.resizeBy () - in my code, give a error like this:
Access Denied.
Some similar experience ?, any ideas what's happening here ?,
Thanks in advanced.
Esteban.
--
Grant Wagner <gw*****@agrico reunited.com>
comp.lang.javas cript FAQ -
http://jibbering.com/faq