Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q406 Is it possible to dynamically remove window options?

irt.org | Knowledge Base | JavaScript | Window | Q406 [ previous next ]

Q406 Is it possible to dynamically remove window options?

Setting the value of a windows property after it has been created requires the UniversalBrowserWrite privilege. For information on security in Navigator 4.0, see Chapter 7, "JavaScript Security," in the JavaScript Guide: http://developer.netscape.com/library/documentation/communicator/jsguide4/index.htm

Johan Alveborg writes:

It is possible to do this in Netscape Navigator without any extra privilegies. If the current browser window is not named, name it like:

window.name = 'SomeWindow'


Then use the window.open method and pass the same name to the to the method. For example, to turn off the scrollbars:

window.open('foo.htm','SomeWindow','scrollbars=no');

Feedback on 'Q406 Is it possible to dynamically remove window options?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.