473,569 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JavaScript Problem with SP2

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.

Jul 23 '05 #1
3 2096
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.

Jul 23 '05 #2
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

Jul 23 '05 #3
That's right, BTW, the IE Windows is resized always, just show the
error, and it's sucks.. i don't know how to don't showit..

Thanks in advanced.
Grant Wagner wrote:
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****** **********@jagg er.tie.cl...
I have a big problem after I install SP2 in XP Box, some functions -
window.resiz eBy() - 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

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.