Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q406 Is it possible to dynamically remove window options?

You are here: irt.org | FAQ | JavaScript | Window | Q406 [ previous next ]

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?'

©2018 Martin Webb