JavaScript Browser object instance
Use JavaScript to access and control browser object instances.
Window object
Pops up a warning box
Pops up a warning box with a line break
A confirmation box pops up and reminds the visitor of the clicked content
A prompt box pops up
When a button is clicked, Open a new window
Open a new window and control its appearance
Open multiple new windows
Make sure the new window does not get focus
Make sure the new window gets focus
Close the new window
Check if the new window has been closed
Return the name of the new window
Transfer some text to the source (parent) Window
Move the new window relative to the current position
Move the new window to the specified position
Print the current page
Specify the window size in pixels
Specify the window size
Specified by Number of pixels to scroll content
Scroll to the specified content
A simple clock
Use setTimeout() and clearTimeout() to set and stop timers
Use setInterval() and clearInterval() to set and stop timers
Update Many Window object examples are in our JavaScript Reference Manual.
Navigator object
Details of the visitor's browser
More Navigator objects Examples in our JavaScript reference manual.
Screen object
Details of the visitor's screen
More Screen objects Example, in our JavaScript reference manual.
History object
Return a history list of urls
Create a back button
Create a forward button
Go to the specified url from the history list of urls
More An example of the History object is in our JavaScript reference manual.
Location object
Returns the host name and port number of the current url
Returns the current page The entire URL
Returns the path name of the current URL
Returns the protocol part of the current URL
Load a new document
Reload the current document
Replace the current document
Go out of the frame
More Location object examples are in our JavaScript Reference Manual.