Subj : Re: window.open To : netscape.public.mozilla.jseng,netscape.public.mozilla.dom From : Martin Honnen Date : Mon Oct 18 2004 01:46 pm Maxime Thonon wrote: > how can i modify the command window.open() in the javascript engine of > mozilla. i want this command open the new target in the initial window, > not in a newone. I don't think that window.open is implemented in the JavaScript engine, it is a method of the browser hosting the script engine. If you want to load a new page in the current window you can use window.location.href = 'whatever.html'; or if you want to use window.open then use window.open('whatever.html', '_self'); Crosspost and follow-up to netscape.public.mozilla.dom -- Martin Honnen http://JavaScript.FAQTs.com/ .