CHAPTER 16Browser Management
Given the wide variety of browser versions and capabilities, building a Web site that works optimally everywhere can be quite daunting. If this challenge weren’t enough, we often aim to provide more than just compatibility—we aim to adjust viewing experience optimally for the user. In this chapter, we explore how JavaScript can be used to manage the browser and user experience. We cover not only browser and capability detection, but also state, storage, and script management. In a few places, we cover some advanced and even proprietary browser features. However, we warn that the ideas presented in this chapter may be misused and encourage some developers to create “exclusionary” Web sites. We will remind the reader ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access