12
The Browser Object Model
WHAT'S IN THIS CHAPTER?
- Understanding the window object, the core of the BOM
- Controlling windows and pop-ups
- Page information from the location object
- Using the navigator object to learn about the browser
- Manipulating the browser history stack with the history object
WROX.COM DOWNLOADS FOR THIS CHAPTER
Please note that all the code examples for this chapter are available as a part of this chapter's code download on the book's website at www.wrox.com/go/projavascript4e
on the Download Code tab.
Though ECMAScript describes it as the core of JavaScript, the Browser Object Model (BOM) is really the core of using JavaScript on the web. The BOM provides objects that expose browser functionality independent of any web page content. For years, a lack of any real specification made the BOM both interesting and problematic because browser vendors were free to augment it as they saw fit. The commonalities between browsers became de facto standards...