Chapter 9The Window Object
window object represents the browser window
that contains a web page. It is also used to represent the global object in
a browser environment.
In this chapter, we’ll cover these topics:
the Browser Object Model
finding out browser information
Our project ― using cookies to welcome back the user
The Browser Object Model
The Browser Object Model (or BOM for short) is a collection of properties and methods that contain information about the browser and computer screen. For example, we can find out which browser the users are utilising (though, this method is unreliable), the dimensions of their screens, and which pages they have visited before the ...