Open a Separate Child Browser Window Using JavaScript

Open a Separate Child Browser Window Using JavaScript

You probably have seen some Web sites that automatically launch new windows in your browser to show an advertisement or an affiliated Web site. You can do this with the open method of the window object.

 open(URL, WindowName, WindowFeatures)

If you specify a URL, the window will automatically open to that URL. WindowName allows you to specify which window to use. If you use a unique window name, a new window will be opened. If you use the name of an existing window, it will navigate to the given URL. Window features allow you to specify the height, width, menu bar, tool bar, status bar, and so forth.

See also - an AI reverse image search platform

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist